aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* ar71xx: adjust ew-dorin platform for LAN+WAN setupFelix Fietkau2014-02-281-2/+3
| | | | | | Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> SVN-Revision: 39763
* cns3xxx: ethernet - clean up tx descs only when neededFelix Fietkau2014-02-271-4/+8
| | | | | | | | | | | 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
* cns3xxx: ethernet - resolve SMP issueFelix Fietkau2014-02-271-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* imx6: optimize for NEON FPU hardwareLuka Perkov2014-02-271-1/+1
| | | | | | | | | | The IMX6 SoC uses an ARM Cortext-A9 which has both NEON and VFPv3 hardware blocks. This will tune gcc to use neon instead of vfpv3 which will outperform VFPv3. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39760
* imx6: enable FPU for hard floatLuka Perkov2014-02-273-4/+7
| | | | | | | | | | | | | | The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration. As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu to the feature list. This will default the IMX6 target to use -mfloat-abi=hard which will the be most efficient use of floating point. When switching to hard float, we also need to enable VFP support in the kernel. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39759
* realview: fix zImage-initramfs installationFlorian Fainelli2014-02-271-1/+5
| | | | | | | | | We were copying the actual vmlinux-initramfs.elf kernel which cannot be launched by QEMU or a real bootloader, use zImage-initramfs instead. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39756
* ar71xx: fix failsafe acces on several devicesGabor Juhos2014-02-251-1/+35
| | | | | | | | | | | | | | The ar71xx platform always uses the eth0 interface to provide access to the device in failsafe mode. Due to this, failsafe access is broken on devices where the LAN ports are connected to the 'eth1' interface. Update the relevant script to correctly set the ifname variable for these devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39752
* brcm63xx: add preliminary support for 3.13Jonas Gorski2014-02-24155-0/+16434
| | | | | | | | | Add support for 3.13 as a development kernel. Mostly untested, only net booted. If flashed may brick your router or kill your cat. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39746
* kernel: add missing config symbol to 3.13Jonas Gorski2014-02-241-0/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39745
* x86/rdc: remove old kernel configGabor Juhos2014-02-231-326/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39737
* x86/rdc: switch to 3.10 and add broken flagGabor Juhos2014-02-231-0/+2
| | | | | | | | Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39736
* x86/rdc: add config for 3.10Gabor Juhos2014-02-231-0/+66
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39735
* x86: fix MTD API usage in the RDC specific board patchGabor Juhos2014-02-231-7/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39734
* brcm47xx: b44: some fixes in combination with the switchHauke Mehrtens2014-02-231-2/+26
| | | | | | | | | Let the switch start the carrier and set the duplex mode independently if this nic is up of not. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39733
* x86/olpc: remove old kernel configGabor Juhos2014-02-231-124/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39732
* x86/olpc: switch to 3.10 and add broken flagGabor Juhos2014-02-231-0/+2
| | | | | | | | Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39731
* x86/olpc: add config for 3.10Gabor Juhos2014-02-231-0/+122
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39730
* x86/net5501: remove old kernel configGabor Juhos2014-02-231-19/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39729
* x86/net5501: switch to 3.10 and add broken flagGabor Juhos2014-02-231-0/+2
| | | | | | | | Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39728
* x86/net5501: add config for 3.10Gabor Juhos2014-02-231-0/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39727
* brcm47xx: b44: start the phyHauke Mehrtens2014-02-231-0/+23
| | | | | | | | | | | We did not start the PHY when an external phy was in use. Without this patch the driver uses half duplex mode and the switch uses full duplex mode, which causes problems. Thank you fback for spotting this problem. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39719
* brcm47xx: fix detection of some Linksys WRT54G* devicesHauke Mehrtens2014-02-233-6/+45
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39718
* x86/thincan: remove old kernel configGabor Juhos2014-02-231-15/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39717
* x86/thincan: switch to 3.10 and add broken flagGabor Juhos2014-02-231-1/+2
| | | | | | | | Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39716
* x86/thincan: add config for 3.10Gabor Juhos2014-02-231-0/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39715
* x86/xen_domu: remove old kernel configGabor Juhos2014-02-231-77/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39714
* x86/xen_domu: switch to 3.10 and add broken flagGabor Juhos2014-02-231-1/+2
| | | | | | | | Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39713
* x86/xen_domu: add config for 3.10Gabor Juhos2014-02-231-0/+81
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39712
* x86/geos: remove old kernel configsGabor Juhos2014-02-232-50/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39711
* x86/geos: switch to 3.10 and add broken flagGabor Juhos2014-02-232-3/+2
| | | | | | | | Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39710
* x86/geos: add config for 3.10Gabor Juhos2014-02-231-0/+25
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39709
* brcm63xx: update LINUX_VERSION to 3.10.32Gabor Juhos2014-02-231-1/+1
| | | | | | | | Missed from the previous comit. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39708
* kernel: update 3.10 to 3.10.32Gabor Juhos2014-02-2353-216/+79
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39707
* ar71xx: define status LED for the RB91x boardsGabor Juhos2014-02-232-0/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39705
* ar71xx: rb91x: register GPIO LEDsGabor Juhos2014-02-231-0/+51
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39704
* ar71xx: rb91x: add SPI device for the serial shift registerGabor Juhos2014-02-232-3/+63
| | | | | | | | | | | | | The RB91x boards are using a serial shift register connected to the SPI bus to drive some of the LEDs. Rework the board setup code to register a SPI device for that. This makes it possible to use the 'spi-74x164' driver to control the device. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39703
* ar71xx/mikrotik: enable the 74x164 GPIO driverGabor Juhos2014-02-231-0/+1
| | | | | | | | | That will be used to drive the 74HC595 serial-in/parallel-out 8-bits shift register which can be found on some RouterBOARDs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39702
* ar71xx: improve platform device support in the gpio-74x164 driverGabor Juhos2014-02-231-0/+74
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39701
* ar71xx: rb91x-nand: rewrite to use GPIO APIGabor Juhos2014-02-233-115/+174
| | | | | | | | | Rewrite tha rb91x-nand driver to use GPIO API to modify the NAND control lines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39700
* ar71xx: rb91x: register a gpio-latch platform deviceGabor Juhos2014-02-221-0/+21
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39699
* ar71xx/mikrotik: enable the GPIO latch driverGabor Juhos2014-02-221-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39698
* ar71xx: add a generic GPIO latch driverGabor Juhos2014-02-224-0/+256
| | | | | | | | It will be used for the Mikrotik boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39697
* ar71xx/mikrotik: enable small sector erase in the m25p80 driverGabor Juhos2014-02-221-0/+1
| | | | | | | | | | | The serial flash devices used on the ROuterBOARDs are supporting 4KiB erase blocks. Enable the small sector erase option in the m25p80 driver to avoid superfluous erase/write of adjacent blocks. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39696
* ar71xx: spi-ath79: fix initial GPIO CS line setupGabor Juhos2014-02-222-2/+39
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39695
* ar71xx: refresh unaligned access hacks patchGabor Juhos2014-02-221-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39694
* target/sunxi: add dependency on sunxi to kmod-wdt-sunxiNicolas Thill2014-02-221-0/+1
| | | | SVN-Revision: 39693
* gianfar: Fix reported number of sent bytes to BQLFelix Fietkau2014-02-221-0/+77
| | | | | | | | | | | | This is a backported patch for the gianfar ethernet driver used in TPLink 4900 v1. It is supposed to fix the error which show up in dmesg with: NETDEV WATCHDOG: eth0 (fsl-gianfar): transmit queue xy timed out Full upstream patch is at: http://patchwork.ozlabs.org/patch/271242 Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de> SVN-Revision: 39692
* b53: Make b53_switch_init staticJonas Gorski2014-02-221-1/+1
| | | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4869/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39683
* b53: Add BCM53128 switch supportJonas Gorski2014-02-223-2/+18
| | | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4867/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39682
* brcm63xx: fix RG100A/DB120 usb port numberJonas Gorski2014-02-2251-75/+85
| | | | | | | | Set usbh ports to 2 to fix #15007. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39681