summaryrefslogtreecommitdiff
path: root/target
AgeCommit message (Collapse)Author
2012-08-09Fix hard reset of alix/soekris hardware under heavy NIC loadjow
The following patch corrects a hard reset that occurs on alix and soekris net5501 hardware. Specifically, this is an issue with the via rhine NIC driver. Under periods of extreme load, the via rhine driver can cause a reset of the entire system. When this happens no output is seen on the console, the device simply reboots. This was reported in the following ticket: Consistent crash on Soekris NET5501 https://dev.openwrt.org/ticket/11882 I was able to reproduce the problem locally with numerous alix 2d13 platforms. Under heavy 64 byte frame size load from a Smartbits traffic generator, the alix hardware will hard reset in under 5 minutes. The same hardware, under the same load, on FreeBSD 9.0 does not reset. The patch below backports most of the via rhine changes from kernel 3.5. With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring these changes in to avoid this serious issue. I've tested this heavily in my test environment and was able to keep the device stable under load for extended periods of time without any resets. Also, a nice side effect of this change is that it significantly raises the performance the platform. Without this patch the alix 2d13 can move approximately 29,000 packets per second at 64 byte frame sizes. After this patch the alix can move 52,000 packets per second at 64 byte frame sizes. I put this patch under the x86 patches as those are the only platforms with via rhine hardware that I'm aware of. If it needs to go some place else please let me know. Thanks, Adam Signed-off-by: Adam Gensler <openwrt@kristenandadam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09[mcs814x] nuport-mac: use dma_mapping_error() instead of checking pointersflorian
Thanks Gabor for spotting this git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08[mcs814x] nuport-mac: rework PHY interrupt configuration to avoid racesflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08[mcs814x] nuport-mac: close possible race condition during startflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08[mcs814x] nuport-mac: unmap the DMA buffer when closing deviceflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08[mcs814x] nuport-mac: check dma_map_single address return valuesflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08[mcs814x] build a Devolo dLAN USB Extender specific imageflorian
The kernel has to be rounded up to the nearest 1MB, then we append the root filesystem at its end. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08[mcs814x] cleanup image generationflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08[lantiq] pci gpio mappingblogic
This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05bcm63xx: fix USB base registers and IRQs for BCM6328jogo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05[brcm47xx] update tg3 driverhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05[brcm47xx] generate image for Linksys e3200hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05brcm47xx: update gpio patchhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05brcm47xx: fix patch which moves the flash struct in wgt634u codehauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04[lantiq] W502V/ARV4525 wireless mac bugfixblogic
The ARV4525 board init is passing the wrong offset to arv_register_ath5k() resulting in a bogus mac. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04brcm47xx: use libgpio instaed of implementing the gpio interface ourself.hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-03[lantiq] cleanup patchesblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02[mcs814x] nuport-mac: properly protect the phy interrupt handlerflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02[bufferbloat] Codel: avoid a nul rec_inv_sqrtblogic
One condition before codel_Newton_step() was not good if we never left the dropping state for a flow. As a result rec_inv_sqrt was 0, instead of the ~0 initial value. codel control law was then set to a very aggressive mode, dropping many packets before reaching 'target' and recovering from this problem. Brought over from 3.5-stable Signed-off-by: Dave Taht <dave.taht@bufferbloat.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02[lantiq] fixes i2c clock enableblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02ar71xx: simplify misc IRQ handlingjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02ar71xx: fix AR934X_EHCI_SIZEjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043NDjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02ar71xx: image: allow to use board specific code in the lzma-loaderjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02ar71xx: init switch hw_reset on the TL-WR1043ND boardjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02generic: rtl836x: add hw_reset field to struct rtl8366_smijuhosg
It will be used to start/stop the switch if that is supported by the given board. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free callsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01[mcs814x] add missing netmask to the network configflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01[mcs814x] assume the link is up and full-duplex by defaultflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01[mcs814x] add a default and suitable network config fileflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01ar71xx: ew-dorin: added router firmware generationjuhosg
[juhosg: remove dead code] Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01ar71xx: ew-dorin: added USB supportjuhosg
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01ar71xx: Buffalo WLAE-AG300N wireless led patchjuhosg
Here is the uci-defaults version of the led support for the Buffalo WLAE-AG300N. Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01ar71xx: Buffalo WLAE-AG300N initial supportjuhosg
The patch set for Buffalo WLAE-AG300N initial support. There is another patch for wireless led support that is posted separately. Note on serial console: This unit has buffalo standard 4 pin console, but the unit may not power on if some console apparatus is connected. This is probably due to some electronic interaction between the unit's electronic power switch circuit and the serial console apparatus. If this happens, it is required to power on the unit without the console, then quickly (re-)attach it. [juhosg: fix coding style] Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01[mcs814x] resync defconfig enable XZ compressionflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31[mcs814x] properly generate squashfs, jffs2 and initramfs images and kernelsflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31[kernel] disable crashlog on ARM platforms for the momentflorian
It is currently badly broken on ARM, until fixed, disable it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31[lantiq] add lantiq svip supportblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31bcm63xx: Add nb6 support (BCM6362 SoC base boards)jogo
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com> Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> [jonas.gorski@gmail.com: add network config for nb6, make switch fix a platform patch] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31bcm63xx: add basic bcm6362 supportjogo
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31bcm63xx: enable usb for bcm6328jogo
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31bcm63xx: update enetswitch driverjogo
Update enetswith driver with latest fixes and additions. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31bcm63xx: reorder patchesjogo
Fix the order and names of patches. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29[at91] move i2c module to target modules.mkflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29[omap24xx] resync configflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29[omap24xx] use the same description as other omap platforms (without the dash)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29[kernel] refresh pwm patchblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28[kernel] clean up pwm patches and driversblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28[kernel] add config option CONFIG_I2C_MV64XXX to fix kirkwood buildhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27[realview] resync configflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32895 3c298f89-4303-0410-b956-a3cf2f4a3e73