Felix Fietkau
5dab5bf10c
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:25:16 +00:00
Felix Fietkau
275672c3c9
cns3xxx: fix ethernet driver memory barrier usage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:25:11 +00:00
Felix Fietkau
9ec6f799c1
cns3xxx: reduce buffer allocation size to 2048 bytes, improves ethernet performance
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:27:04 +00:00
Felix Fietkau
f4caeaa7c6
cns3xxx: remove linux 3.3 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:01:55 +00:00
Felix Fietkau
74f0116420
cns3xxx: disable CONFIG_PROC_STRIPPED and add an init script to set the ethernet cpu affinity (improves lan<->wlan bridging performance)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:01:51 +00:00
Felix Fietkau
947ebaae8c
cns3xxx: add linux 3.8 support and use it by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 18:51:46 +00:00
Felix Fietkau
3ca52e3ca4
Revert "[cns3xxx]: clean up PCI bus topology" (r35079)
...
It breaks PCIe IRQ mapping and possibly other things
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 00:32:54 +00:00
Florian Fainelli
bf21e3818d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:34:25 +00:00
Imre Kaloz
804ae43125
[cns3xxx]: 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 13:25:12 +00:00
Imre Kaloz
0a3d441da8
[cns3xxx]: 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 13:23:33 +00:00
Imre Kaloz
f19b976355
[cns3xxx]: 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 18:53:38 +00:00
Florian Fainelli
bfd69b4134
kernel: add missing USB configuration symbols after r34501
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 11:01:53 +00:00
Florian Fainelli
d6328b1ebb
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:18 +00:00
Florian Fainelli
ea51c07a17
cns3xxx: advertise pcie usb usbgadget features
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:12 +00:00
Gabor Juhos
b8f87e36f2
remove common symbols from 3.3 configs
...
The removed symbols are present in the generic configuration.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:35 +00:00
Luka Perkov
3bd54a7888
cns3xxx: merge gpio patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 19:27:30 +00:00
Luka Perkov
d9e7b083bb
cns3xxx: fix build failure after r34168
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 19:27:29 +00:00
Imre Kaloz
29fb5ae792
[cns3xxx]: reorder, rename and refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 09:18:00 +00:00
Imre Kaloz
7a955260a6
[cns3xxx]: split spi patch, follow mainline file naming
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 08:22:14 +00:00
Imre Kaloz
cba5b86e13
[cns3xxx]: split the i2c patch, merge the retry fixup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 08:21:38 +00:00
Imre Kaloz
e3e30fcfb6
[cns3xxx]: generate single images for tftp flashing as well as sysupgrade images for boards with old u-boot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 20:57:04 +00:00
Luka Perkov
37b69da0ca
cns3xxx: convert dwc_otg patches to files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 20:03:58 +00:00
Luka Perkov
80a28570bd
cns3xxx: convert ethernet patches to files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 20:03:56 +00:00
Imre Kaloz
4c2e3be25a
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-09 21:37:54 +00:00
Luka Perkov
1a18927dcf
cns3xxx: exit from laguna late_initcall if not running on laguna board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 11:31:56 +00:00
Imre Kaloz
2a19fe9d2f
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 05:42:31 +00:00
Imre Kaloz
72ece984b9
[cns3xxx]: fixup symbol selection
...
SMP already selects HAVE_ARM_TWD and HAVE_ARM_SCU,
ARCH_CNS3XXX already selects MIGHT_HAVE_PCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 05:40:34 +00:00
Luka Perkov
7afe9fb306
cns3xxx: fix coding style in board script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 23:12:06 +00:00
Luka Perkov
9f5fd7db54
cns3xxx: refresh kernel config file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 11:16:43 +00:00
Luka Perkov
5fabd70da1
cns3xxx: use files directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 11:16:41 +00:00
Imre Kaloz
fee2c93362
[cns3xxx]: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 05:45:12 +00:00
Imre Kaloz
3cc763aa54
[cns3xxx]: add default packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 05:39:08 +00:00
Imre Kaloz
8cb200c475
[cns3xxx]: 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:16:53 +00:00
Felix Fietkau
047aa0a7c5
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(-)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 22:03:37 +00:00
John Crispin
fb47a917c2
drop GPIODEV platform code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 21:53:37 +00:00
Imre Kaloz
1babf05104
[cns3xxx]: fix (really this time) laguna UART config
...
Properly terminate the correct platform resource for laguna UARTs
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 09:51:35 +00:00
Imre Kaloz
7deca64a98
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:59:06 +00:00
Imre Kaloz
3965e8fe36
[cns3xxx]: fix non terminated uart resources for laguna
...
Resolves crashes when probing multiple serial devices
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:47:27 +00:00
Felix Fietkau
f89ae950b0
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:39:02 +00:00
Felix Fietkau
ec94f89147
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:38:58 +00:00
Felix Fietkau
bbb2b87002
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(-)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:24:02 +00:00
Felix Fietkau
bb5ccd89c3
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(-)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:58 +00:00
Felix Fietkau
e2eaa02a71
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(+)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:52 +00:00
Felix Fietkau
975bfc4188
cns3xxx: add missing kernel config symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 15:31:34 +00:00
Imre Kaloz
dad87f7f50
Add FIQ support for cns3xxx
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 17:35:35 +00:00
Imre Kaloz
55b1f50e03
Update board support for Gateworks Laguna Product family
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 17:34:18 +00:00
Imre Kaloz
c0a60594a8
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 17:31:22 +00:00
Imre Kaloz
335b61f11a
[cns3xxx]: 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 08:07:17 +00:00
Imre Kaloz
eec34ef032
[cns3xxx]: add i2c retries
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 08:06:13 +00:00
Imre Kaloz
4f0ecc3ff5
[cns3xxx]: fix pcie abort handling
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 08:05:19 +00:00
Felix Fietkau
c463657e7c
cns3xxx: fix ethernet driver tx completion and queue stop/start
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 00:34:53 +00:00
Felix Fietkau
c999cb61c9
cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 00:34:49 +00:00
Imre Kaloz
e6c6e76140
[cns3xxx]: move gpio stuff into the right file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 05:40:04 +00:00
Felix Fietkau
19d64c1668
cns3xxx: add a small optimization for rx offload
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 00:13:12 +00:00
Felix Fietkau
341e4ab8dd
cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 00:13:08 +00:00
Felix Fietkau
3d09f1a936
cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:18 +00:00
Felix Fietkau
039dcc7b78
cns3xxx: remove the broken flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:25 +00:00
Felix Fietkau
9593dde703
cns3xxx: fix kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:22 +00:00
Felix Fietkau
52652ace04
cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:18 +00:00
Felix Fietkau
a32de26f10
cns3xxx: fix ethernet tx checksum offload
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:15 +00:00
Felix Fietkau
01c060f1c1
cns3xxx: merge ethernet driver changes from gateworks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:12 +00:00
Felix Fietkau
1c490b4411
cns3xxx: build images for the old boot loader and the new one (default to the new one)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:09 +00:00
Felix Fietkau
098c15a379
cns3xxx: fix the ethernet driver makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:06 +00:00
Felix Fietkau
3f5b224952
cns3xxx: reorganize patches, fix pcie io space init order
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:02 +00:00
Felix Fietkau
26e80ec109
cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:49:58 +00:00
Felix Fietkau
a60c9bb9c0
cns3xxx: add missing callbacks for the laguna machine support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:49:50 +00:00
John Crispin
f3f9d768fa
[cns3xx] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 08:01:38 +00:00
John Crispin
266c70cdf4
[kernel] bump to 3.3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
Gabor Juhos
cbc3cd7b0e
cns3xxx: remove 3.1 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:03 +00:00
Gabor Juhos
9853f97374
cns3xxx: switch to 3.3 and add broken flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:02 +00:00
Gabor Juhos
020b994103
cns3xxx: add support for 3.3
...
Compile tested only.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:53 +00:00
Gabor Juhos
e738b2550a
cns3xxx: sync kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:48 +00:00
Gabor Juhos
a24db87f22
cns3xxx: remove 2.6.39 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:46 +00:00
Gabor Juhos
07e53bcad1
cns3xxx: switch to 3.1
...
Compile tested only.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:44 +00:00
Gabor Juhos
cb4c118e50
linux: move certain disabled symbols to the generic configs
...
* CONFIG_ARCH_DMA_ADDR_T_64BIT
* CONFIG_ARCH_HAS_ILOG2_U32
* CONFIG_ARCH_HAS_ILOG2_U64
* CONFIG_ARCH_PHYS_ADDR_T_64BIT
* CONFIG_ARCH_SUPPORTS_MSI
* CONFIG_GENERIC_CPU_DEVICES
* CONFIG_HWMON_DEBUG_CHIP
* CONFIG_I2C_PXA_PCI
* CONFIG_LEDS_GPIO
* CONFIG_MINIX_FS_NATIVE_ENDIAN
* CONFIG_MLX4_CORE
* CONFIG_POWER_SUPPLY
* CONFIG_POWER_SUPPLY_DEBUG
* CONFIG_QUOTACTL
* CONFIG_SDIO_UART
* CONFIG_SENSORS_K10TEMP
* CONFIG_SENSORS_SCH56XX_COMMON
* CONFIG_SENSORS_VIA_CPUTEMP
* CONFIG_SERIO_AMBAKMI
* CONFIG_SERIO_I8042
* CONFIG_SERIO_LIBPS2
* CONFIG_SERIO_PCIPS2
* CONFIG_SERIO_RAW
* CONFIG_SERIO_SERPORT
* CONFIG_SPI_BITBANG
* CONFIG_SPI_GPIO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:58:52 +00:00
Gabor Juhos
febcb7168b
cns3xxx: remove 2.6.31 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 16:42:05 +00:00
Imre Kaloz
d976d07b41
[cns3xxx]: enable another l2 cache errate on newer kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 11:22:08 +00:00
Imre Kaloz
523794c90a
[cns3xxx]: rename 3.1 patches directory as it will be used for newer kernels as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:59:23 +00:00
Imre Kaloz
aa4e0232b5
[cns3xxx]: rename 2.6.39 patches directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:58:14 +00:00
Jonas Gorski
b1059710a2
kernel: update linux 3.1 to 3.1.10
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 09:43:57 +00:00
Imre Kaloz
63a2c4b8e1
[cns3xxx]: update 3.1 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:13:13 +00:00
Imre Kaloz
ce073ca8ef
[cns3xxx]: upgrade testing kernel support to 3.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-04 15:06:05 +00:00
Imre Kaloz
5770661b9c
[cns3xxx]: cleanup config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-04 15:02:37 +00:00
Hauke Mehrtens
ff1d70f47d
kernel: update kernel to version 2.6.39.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 22:04:10 +00:00
Imre Kaloz
5a62e406af
[cns3xxx/3.0]: use the new upstream l2cache and wdt code, smaller changes, refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 09:41:07 +00:00
Imre Kaloz
34c0792142
[cns3xxx]: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 17:18:50 +00:00
Imre Kaloz
3fa0f7eee3
[cns3xxx]: enable smp support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 17:17:44 +00:00
Imre Kaloz
2ae8a2d74b
[cns3xxx]: make smp code more similar to upstream
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 17:17:06 +00:00
Imre Kaloz
602cfe2836
[cns3xxx]: select the right cpu
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 10:24:37 +00:00
Imre Kaloz
6961cda93a
[cns3xxx]: we have an up-to-date mach-type file now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 10:12:50 +00:00
Imre Kaloz
728809f04b
[cns3xxx]: preliminary 3.0 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 08:15:48 +00:00
Hauke Mehrtens
210af3e57c
kernel: update kernel to 2.6.39.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 19:30:58 +00:00
Imre Kaloz
fe98667990
[cns3xxx]: ethernet cleanup and sata fix - thanks, Chris
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 06:54:20 +00:00
Florian Fainelli
c8baad652d
[kernel] update to 2.6.39.1
...
patch from Peter Wagner
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 13:35:55 +00:00
Imre Kaloz
6b89f2292c
[cns3xxx]: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 07:24:41 +00:00
Imre Kaloz
a16a93621c
[cns3xxx]: fixup second led, patch from Chris
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 07:21:25 +00:00
Imre Kaloz
e8d8f5778b
[cns3xxx]: fixup pcie clock, thanks Chris
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 23:55:33 +00:00
Imre Kaloz
2815868d4a
[cns3xxx]: upgrade to 2.6.39
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 13:55:34 +00:00
Felix Fietkau
b7a045a261
cns3xxx: remove one of the dma cache patches, it causes a regression in the ethernet driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 00:28:30 +00:00
Felix Fietkau
ab43a6807e
cns3xxx: fix missing and incomplete cache flushes on DMA cache sync for cpu - fixes some issues with ath9k
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 15:53:56 +00:00