Commit graph

185 commits

Author SHA1 Message Date
Felix Fietkau
0426643bd5 cns3xxx: fix initramfs build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41915
2014-07-31 23:40:40 +00:00
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
2014-06-02 12:43:22 +00:00
Felix Fietkau
2603c9045d cns3xxx: ethernet - revert: clean up tx descs only when needed
This reverts commit 0772ab938c0aedd7f4cc7127059d6ce8cf929dfa.

Trying to optimize calls to eth_complete_tx in this fasion causes a regression
where when sending only the tx queue can get disabled until a packet is
received. This original call to eth_schedule_poll() is scheduled so it
should not cause a performance issue.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40592
2014-04-29 15:52:12 +00:00
Imre Kaloz
8411a5703f Add GW2385 support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39894
2014-03-12 13:40:13 +00:00
Imre Kaloz
68022cac64 various dwc (OTG) driver fixups
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39892
2014-03-12 13:37:40 +00:00
Felix Fietkau
bbc0c67bb0 cns3xxx: fix uImage build issue
The uImage target will always fail on a clean build due to dependency issues.
Building the uImage isn't necessary anyway as its re-built with correct
entry points in image/Makefile so remove it.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39778
2014-03-05 17:37:43 +00:00
Felix Fietkau
8665c57923 cns3xxx: ethernet - clean up tx descs only when needed
We already clean up tx descriptors in the napi eth_poll() function so it
would likely be rare to run out of available descriptors in eth_xmit. Thus
we can clean them up only when needed and return busy only when we
still don't have enough.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39762
2014-02-27 23:02:43 +00:00
Felix Fietkau
96eb3d883d cns3xxx: ethernet - resolve SMP issue
The combination of r35942 and r35952 causes an issue where eth_schedule_poll()
can be called from a different CPU between the call to napi_complete() and the
setting of cur_index which can break the rx ring accounting and cause ethernet
latency and/or ethernet stalls.  The issue can be easilly created by adding
a couple of artificial delays such as:

@@ -715,6 +715,7 @@ static int eth_poll(struct napi_struct *napi, int budget)

 	if (!received) {
 		napi_complete(napi);
+udelay(1000);
 		enable_irq(IRQ_CNS3XXX_SW_R0RXC);
 	}

@@ -727,6 +728,7 @@ static int eth_poll(struct napi_struct *napi, int budget)
 	rx_ring->cur_index = i;

 	wmb();
+udelay(1000);
 	enable_rx_dma(sw);

 	return received;

This patch moves the setting of cur_index back up where it needs to be and
addresses the original corner case that r35942 was trying to catch in an
improved fashion by checking to see if the rx descriptor ring has become
full before interrupts were re-enabled so that a poll can be scheduled again
and avoid an rx stall caused by rx interrupts ceasing to fire again.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39761
2014-02-27 23:02:37 +00:00
Imre Kaloz
28de84d024 add uImage image build
- add building of a standard uImage along with the combined kernel+rootfs
- remove 'old' image build - that was for a very old and obsolete bootloader

To update the bootloader for GW2387,GW2388,GW2391 (NOR Flash) from uboot:
put latest NOR bootloader on tftp server:

http://svn.gateworks.com/laguna/trunk/images/u-boot_nor.bin

 Laguna> setenv ipaddr <localip>
 Laguna> setenv ipaddr <serverip>
 Laguna> tftpboot 0x800000 laguna/u-boot-nor.bin
 Laguna> erase 0x10000000 +$(filesize)
 Laguna> cp.b 0x800000 0x10000000 $(filesize)
 Laguna> reset

To update the bootloader for GW2380,GW2382,GW2383 (SPI Flash) from uboot:
put latest SPI bootloader on tftp server:

http://svn.gateworks.com/laguna/trunk/images/u-boot_spi.bin

 Laguna> setenv ipaddr <localip>
 Laguna> setenv ipaddr <serverip>
 Laguna> tftpboot 0x800000 laguna/u-boot-spi.bin
 Laguna> erase 0x60000000 +$(filesize)
 Laguna> cp.b 0x800000 0x60000000 $(filesize)
 Laguna> reset

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38703
2013-11-10 09:57:07 +00:00
Imre Kaloz
b0fe7d1ec6 add pushbutton GPIO for GW2380/82/83
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38702
2013-11-10 09:55:17 +00:00
Felix Fietkau
c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
2013-09-26 17:53:20 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Felix Fietkau
6436b3f736 cns3xxx: fix USB ehci/ohci platform driver
Update ehci/ohci driver registration to conform to the new platform
drivers.

This fixes missing USB host support in 3.8.x

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 36309
2013-04-10 16:20:50 +00:00
Felix Fietkau
fde143b66f cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and is useful only for testing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36241
2013-04-07 11:24:30 +00:00
Gabor Juhos
f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Gabor Juhos
07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
Felix Fietkau
bd6c9d6252 cns3xxx: ethernet - clean the tx ring before refilling the rx ring to reduce memory pressure
SVN-Revision: 35953
2013-03-11 02:29:53 +00:00
Felix Fietkau
d7a529709a cns3xxx: ethernet - clean the tx ring only in the poll function, not in the xmit handler
SVN-Revision: 35952
2013-03-11 02:29:47 +00:00
Felix Fietkau
0d13baff1e cns3xxx: increase number of ethernet driver rx buffers
SVN-Revision: 35951
2013-03-10 21:59:32 +00:00
Felix Fietkau
ee2b511e1f cns3xxx: prevent the ethernet driver from accessing uninitialized dma descriptor entries
SVN-Revision: 35950
2013-03-10 21:59:28 +00:00
Felix Fietkau
d22ac8d8fb cns3xxx: minor ethernet driver cleanup
SVN-Revision: 35949
2013-03-10 21:59:21 +00:00
Felix Fietkau
9facda9570 cns3xxx: use kmalloc instead of kzalloc for ethernet rx buffers
SVN-Revision: 35943
2013-03-10 18:25:20 +00:00
Felix Fietkau
c44506fcbd cns3xxx: fix an rx irq handling corner case
When an rx interrupt comes in, rx interrupts are disabled and NAPI
polling is scheduled. During the NAPI poll, the driver first processes
received frames in the ring, then fills the dma descriptor slots with
new buffers and calls tx complete, before finally re-enabling rx
interrupts and completing NAPI (if below the budget).
If the hardware rx queue overflows before the napi complete is called,
the hardware will not throw any further rx interrupts and rx processing
stops completely.
Fix this by keeping NAPI polling scheduled until it completes a poll
without receiving any packets, and also handle NAPI completion before
refilling rx or completing tx.

SVN-Revision: 35942
2013-03-10 18:25:16 +00:00
Felix Fietkau
c1adc79328 cns3xxx: fix ethernet driver memory barrier usage
SVN-Revision: 35941
2013-03-10 18:25:11 +00:00
Felix Fietkau
446409f43e cns3xxx: reduce buffer allocation size to 2048 bytes, improves ethernet performance
SVN-Revision: 35917
2013-03-10 01:27:04 +00:00
Felix Fietkau
95431b7843 cns3xxx: remove linux 3.3 support
SVN-Revision: 35916
2013-03-10 01:01:55 +00:00
Felix Fietkau
3d919b7c08 cns3xxx: disable CONFIG_PROC_STRIPPED and add an init script to set the ethernet cpu affinity (improves lan<->wlan bridging performance)
SVN-Revision: 35915
2013-03-10 01:01:51 +00:00
Felix Fietkau
95f14d052a cns3xxx: add linux 3.8 support and use it by default
SVN-Revision: 35908
2013-03-09 18:51:46 +00:00
Felix Fietkau
a9c584c277 Revert "[cns3xxx]: clean up PCI bus topology" (r35079)
It breaks PCIe IRQ mapping and possibly other things

SVN-Revision: 35842
2013-03-02 00:32:54 +00:00
Florian Fainelli
1e103b2ecc target: enable XZ BCJ decompressor code after r35097
Required to actually be able to mount squashfs xz compressed
filesystems.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35156
2013-01-14 16:34:25 +00:00
Imre Kaloz
a2950fabd4 clean up PCI bus topology
This makes the PCI bus topology more standard for devices behind a bridge

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 35079
2013-01-10 13:25:12 +00:00
Imre Kaloz
b63b970866 clean up PCI bus topology
This makes the PCI bus topology more standard for devices behind a bridge

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 35078
2013-01-10 13:23:33 +00:00
Imre Kaloz
2c05915b24 add nol2x0 cmdline to disable l2x0 cache
L2 cache via L2X0 cache controller available on some ARM boards can
provide a performance boost in some situations but decrease performance
in others.  This adds a kernel cmdline to disable L2X0 for cns3xxx based
boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 34874
2012-12-23 18:53:38 +00:00
Florian Fainelli
33f6c5ddb9 kernel: add missing USB configuration symbols after r34501
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34568
2012-12-07 11:01:53 +00:00
Florian Fainelli
822ee5053e cns3xxx: fix dwc_otg driver compat with udc-core
function.  This removes those from the dwc_otg driver and removes the patch
that comments out the linkage of udc-core so that the dwc_otg driver can
co-exist happily with other USB Device Controllers.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34475
2012-12-04 16:19:18 +00:00
Florian Fainelli
fd0729f35c cns3xxx: advertise pcie usb usbgadget features
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34474
2012-12-04 16:19:12 +00:00
Gabor Juhos
1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Luka Perkov
00243027dd cns3xxx: merge gpio patches
SVN-Revision: 34174
2012-11-12 19:27:30 +00:00
Luka Perkov
fb9b572f0a cns3xxx: fix build failure after r34168
SVN-Revision: 34173
2012-11-12 19:27:29 +00:00
Imre Kaloz
5cddb170cd reorder, rename and refresh patches
SVN-Revision: 34169
2012-11-12 09:18:00 +00:00
Imre Kaloz
77504ac06f split spi patch, follow mainline file naming
SVN-Revision: 34168
2012-11-12 08:22:14 +00:00
Imre Kaloz
9a780e0328 split the i2c patch, merge the retry fixup
SVN-Revision: 34167
2012-11-12 08:21:38 +00:00
Imre Kaloz
dcfd6cd5a4 generate single images for tftp flashing as well as sysupgrade images for boards with old u-boot
SVN-Revision: 34163
2012-11-11 20:57:04 +00:00
Luka Perkov
16275bdd15 cns3xxx: convert dwc_otg patches to files
SVN-Revision: 34162
2012-11-11 20:03:58 +00:00
Luka Perkov
e38adfc912 cns3xxx: convert ethernet patches to files
SVN-Revision: 34161
2012-11-11 20:03:56 +00:00
Imre Kaloz
f3f3f52259 cns3xxx: clean up pcie patches
Combine two pcie patches (2nd patch undid the 1st patch) together
and refresh the other affected patches

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 34132
2012-11-09 21:37:54 +00:00
Luka Perkov
965c190444 cns3xxx: exit from laguna late_initcall if not running on laguna board
SVN-Revision: 34120
2012-11-08 11:31:56 +00:00
Imre Kaloz
0da0dc0f2b cns3xxx: add PPS support for laguna
Many Laguna products have on-board GPS with Pulse-per-second (PPS)
support.  This patch adds kernel support (statically) and adds
the platform data in laguna board support.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 34115
2012-11-08 05:42:31 +00:00
Imre Kaloz
efcdc21824 fixup symbol selection
SMP already selects HAVE_ARM_TWD and HAVE_ARM_SCU,
ARCH_CNS3XXX already selects MIGHT_HAVE_PCI

SVN-Revision: 34114
2012-11-08 05:40:34 +00:00
Luka Perkov
4d66b749de cns3xxx: fix coding style in board script
SVN-Revision: 34113
2012-11-07 23:12:06 +00:00
Luka Perkov
865933a0ec cns3xxx: refresh kernel config file
SVN-Revision: 34102
2012-11-06 11:16:43 +00:00
Luka Perkov
9a5c26d4ef cns3xxx: use files directory
SVN-Revision: 34101
2012-11-06 11:16:41 +00:00
Imre Kaloz
e141cbb0f9 refresh patches
SVN-Revision: 34095
2012-11-06 05:45:12 +00:00
Imre Kaloz
1a9dfd566e add default packages
SVN-Revision: 34094
2012-11-06 05:39:08 +00:00
Imre Kaloz
3c12bad276 move PCIe init to subsys init call
ARM Linux PCI/PCIe hardware intialization needs to occur before device_init
as it does not support hotplug.  I have modeled the cns3xxx PCIe init after
other ARM platforms.  Registering it early resolves resource issues occuring
during bus enumeration that occur when a device driver is linked static in
the kernel.

Instead of passing in a bitmask to enable the 2 available ports, link detect
is used to enable ports that have a valid link.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 34044
2012-10-31 20:16:53 +00:00
Felix Fietkau
879b7a7a9b cns3xxx: update FIQ header file and disable RWFO
Update header file appropriately and disable read for ownership

Note that the FIQ support implements a workaround that provides a performance
boost over the traditional upstream workaround which ensures cache lines
are exclusive on driver CPU using 'read for ownership'.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/config-3.3                                |    2 +-
 target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch |    9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

SVN-Revision: 33827
2012-10-17 22:03:37 +00:00
John Crispin
6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
2012-10-17 21:53:37 +00:00
Imre Kaloz
88a740ff80 fix (really this time) laguna UART config
Properly terminate the correct platform resource for laguna UARTs

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33721
2012-10-11 09:51:35 +00:00
Imre Kaloz
9b22ca8042 The Gateworks System Controller (GSC) is an i2c device that provides system level monitoring and control of Gateworks boards. It is used on several product families spanning several different target architectures (ixp4xx, cns3xxx, davinci).
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33720
2012-10-11 07:59:06 +00:00
Imre Kaloz
31c2f1a4d2 fix non terminated uart resources for laguna
Resolves crashes when probing multiple serial devices

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33719
2012-10-11 07:47:27 +00:00
Felix Fietkau
85871f283a cns3xxx: Fix GPIO configuration for Gateworks Laguna boards
The Laguna boards do not use all the same pins for SDHCI as the Cavium
reference board.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33684
2012-10-10 11:39:02 +00:00
Felix Fietkau
6bb7409e5a cns3xxx: Fix laguna arm11mpcore watchdog
The ARM11MPCore Timer/Watchdog registers start at offset 0x600 which is where
all mpcore-wdt boards point the driver base too.  I believe this is wrong
because 0x600 is aliased to the timer/watchdog of the 'current CPU' where
0x700 is CPU0's timer/watchdog, and 0x800 is CPU1's timer/watchdog.  Thus
if your timer/watchdog application is switching between CPU's it can end up
writing to the wrong CPU's registers which results in random board resets
from watchdog timeouts etc.

This patch forces the timer/watchdog driver to use CPU0's registers always.
Its my opinion that other mpcore-wdt boards should be doing the same thing.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33683
2012-10-10 11:38:58 +00:00
Felix Fietkau
e5bb1a1bc7 cns3xxx: add sysupgrade support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/base-files/lib/cns3xxx.sh          |   22 ++
 target/linux/cns3xxx/base-files/lib/upgrade/platform.sh |  122 ++++++++++++++++
 target/linux/cns3xxx/image/Makefile                     |   19 +-
 3 files changed, 159 insertions(+), 4 deletions(-)

SVN-Revision: 33650
2012-10-07 23:24:02 +00:00
Felix Fietkau
68449e2e01 cns3xxx: add GW2383 board support
Add GPIO/LED support for Gateworks GW2383

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/300-laguna_support.patch |   18 +++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

SVN-Revision: 33649
2012-10-07 23:23:58 +00:00
Felix Fietkau
6b778f57aa cns3xxx: fix gpio access and add gpio IRQ support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch |  536 ++++++++++++++++++++
 1 file changed, 536 insertions(+)

SVN-Revision: 33648
2012-10-07 23:23:52 +00:00
Felix Fietkau
a2e1dce829 cns3xxx: add missing kernel config symbol
SVN-Revision: 33603
2012-09-30 15:31:34 +00:00
Imre Kaloz
c53936bb4b Add FIQ support for cns3xxx
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33581
2012-09-28 17:35:35 +00:00
Imre Kaloz
2f2115c436 Update board support for Gateworks Laguna Product family
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33580
2012-09-28 17:34:18 +00:00
Imre Kaloz
70729bb4a5 USB iso mode fixes
Resolves an issue where isochronouse USB would cause the driver to hang as
well as scheduling issues.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33579
2012-09-28 17:31:22 +00:00
Imre Kaloz
68f8db6731 fix ncores for single-core systems.
For cns3xxx SCU_CONFIGURATION always shows multipe cores but SCU_CPU_STATUS
shows which ones are active.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33566
2012-09-27 08:07:17 +00:00
Imre Kaloz
9ace6ace8f add i2c retries
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33565
2012-09-27 08:06:13 +00:00
Imre Kaloz
7dd6b04c28 fix pcie abort handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33564
2012-09-27 08:05:19 +00:00
Felix Fietkau
d6ca46cd25 cns3xxx: fix ethernet driver tx completion and queue stop/start
SVN-Revision: 33504
2012-09-22 00:34:53 +00:00
Felix Fietkau
fb71465a4e cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
SVN-Revision: 33503
2012-09-22 00:34:49 +00:00
Imre Kaloz
ed3597d927 move gpio stuff into the right file
SVN-Revision: 33502
2012-09-21 05:40:04 +00:00
Felix Fietkau
15159604d9 cns3xxx: add a small optimization for rx offload
SVN-Revision: 33500
2012-09-21 00:13:12 +00:00
Felix Fietkau
a1c016fe16 cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
SVN-Revision: 33499
2012-09-21 00:13:08 +00:00
Felix Fietkau
029aaf4514 cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
SVN-Revision: 33498
2012-09-20 20:27:18 +00:00
Felix Fietkau
1067ccf9f7 cns3xxx: remove the broken flag
SVN-Revision: 33493
2012-09-19 23:50:25 +00:00
Felix Fietkau
2db9e9f624 cns3xxx: fix kernel config
SVN-Revision: 33492
2012-09-19 23:50:22 +00:00
Felix Fietkau
34d30654ae cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
SVN-Revision: 33491
2012-09-19 23:50:18 +00:00
Felix Fietkau
eff9405752 cns3xxx: fix ethernet tx checksum offload
SVN-Revision: 33490
2012-09-19 23:50:15 +00:00
Felix Fietkau
dd1fb8289f cns3xxx: merge ethernet driver changes from gateworks
SVN-Revision: 33489
2012-09-19 23:50:12 +00:00
Felix Fietkau
190b4344a3 cns3xxx: build images for the old boot loader and the new one (default to the new one)
SVN-Revision: 33488
2012-09-19 23:50:09 +00:00
Felix Fietkau
59b1d018b1 cns3xxx: fix the ethernet driver makefile
SVN-Revision: 33487
2012-09-19 23:50:06 +00:00
Felix Fietkau
c9139c150c cns3xxx: reorganize patches, fix pcie io space init order
SVN-Revision: 33486
2012-09-19 23:50:02 +00:00
Felix Fietkau
7cd4968d0e cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
SVN-Revision: 33485
2012-09-19 23:49:58 +00:00
Felix Fietkau
2f39fa872a cns3xxx: add missing callbacks for the laguna machine support
SVN-Revision: 33484
2012-09-19 23:49:50 +00:00
John Crispin
1cbfa0c0f5 laguna: fix eeprom read buffer size during platform configuration
Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna.  The model name read in is 16 bytes but the original buffer was only 8 bytes.

Signed-off-by: David Acker <dacker@rajant.com>

SVN-Revision: 32833
2012-07-25 08:01:38 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
d004168445 cns3xxx: remove 3.1 support
SVN-Revision: 31888
2012-05-27 15:01:03 +00:00
Gabor Juhos
6f2ca5da39 cns3xxx: switch to 3.3 and add broken flag
SVN-Revision: 31887
2012-05-27 15:01:02 +00:00