aboutsummaryrefslogtreecommitdiffstats
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
* ath5k: fix enabling 5/10 mhz channel bandwidth supportFelix Fietkau2014-02-271-13/+43
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39758
* netifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)Steven Barth2014-02-271-2/+2
| | | | SVN-Revision: 39757
* 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
* netifd: don't always assume addrs & routes are appliedSteven Barth2014-02-261-2/+2
| | | | | | | netifd didn't check the netlink return values and kept assuming routes are in place even if they weren't SVN-Revision: 39755
* musl: move the dependency on BROKEN to the right config symbolFelix Fietkau2014-02-262-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39754
* broadcom-diag: fix compileHauke Mehrtens2014-02-251-1/+1
| | | | | | | | BCM47XX_BOARD_LINKSYS_WRT54G was renamed in r39718 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39753
* 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
* ath9k: add fixes for rx processing and baseband hang detectionFelix Fietkau2014-02-255-7/+211
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39751
* toolchain/musl: add version 0.9.15, remove older versions (still broken, but ↵Felix Fietkau2014-02-2424-1153/+28
| | | | | | | | closer to being functional than before) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39750
* gcc: fix visibility of symbols libgcc.aFelix Fietkau2014-02-243-27/+23
| | | | | | | | Symbols need to be hidden, even for the static variant Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39749
* openssl: use termios instead of termioFelix Fietkau2014-02-242-2/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39748
* libnl-tiny: fix include path to poll.hFelix Fietkau2014-02-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39747
* 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
* eglibc: use version 2.19 by default (lots of fixes, some security related)Felix Fietkau2014-02-242-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39744
* eglibc: remove versions 2.16 and 2.17 - they are unmaintainedFelix Fietkau2014-02-2410-471/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39743
* eglibc: add version 2.19Felix Fietkau2014-02-247-2/+85
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39742
* hostapd: link against librt if eglibc is usedFelix Fietkau2014-02-241-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39741
* odhcpd: avoid the unspecificed address being advertised as DNSSteven Barth2014-02-241-2/+2
| | | | SVN-Revision: 39740
* odhcpd: fix DNS-server and MSR-entries in RASteven Barth2014-02-241-2/+2
| | | | | | | Similarly to the previously broken address pools, DNS-servers and some MSRs could be advertised incorrectly as well. This is now fixed. SVN-Revision: 39739
* usbreset: fix possible access to uninitialized variable (#15041)Jo-Philipp Wich2014-02-232-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 39738
* 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
* ubus: update to latest version, fixes lua binding issues and adds fd passing ↵Felix Fietkau2014-02-231-2/+2
| | | | | | | | support Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39726
* libubox: update to latest version, improves uloop error handlingFelix Fietkau2014-02-231-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39725
* procd: depend on libubox directly to rebuild on ABI changesFelix Fietkau2014-02-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39724
* netifd: depend on libubox directly to rebuild on ABI changesFelix Fietkau2014-02-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39723
* ubus: declare main version as ABI version for libubusFelix Fietkau2014-02-231-3/+3
| | | | | | | | | Reorder BuildPackage calls, as libubox needs to come first for ABI version handling to work Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39722
* libubox: declare main version as ABI versionFelix Fietkau2014-02-231-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39721
* build: allow packages to declare ABI versions to detect necessary package ↵Felix Fietkau2014-02-233-0/+20
| | | | | | | | | | | | | | | rebuilds If a package directly depends on another package that recently changed its ABI version, it will be cleaned up and rebuilt (assuming quilt is not used). This helps with packages that have no stable ABI, e.g. libubox, ubus, etc. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39720
* 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