Commit Graph

24175 Commits (38daca0070bcff0305a9b956f2c1af1d5227f3a1)

Author SHA1 Message Date
Jo-Philipp Wich 86c37ab542 [package] base-files: fix option parsing of -F/--force parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 18:30:47 +00:00
Jonas Gorski f1a4e36531 package: linux-atm: br2684ct: fix nas interface bringup on boot
Give nas interface time to setup them selves before configuring them.
Should fix #11826.

Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 13:13:26 +00:00
Jo-Philipp Wich f955432959 Fix hard reset of alix/soekris hardware under heavy NIC load
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 09:41:22 +00:00
Florian Fainelli 8e1f8a2085 [mcs814x] nuport-mac: use dma_mapping_error() instead of checking pointers
Thanks Gabor for spotting this

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 09:06:35 +00:00
Florian Fainelli 9ded359521 [mcs814x] nuport-mac: rework PHY interrupt configuration to avoid races
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:18 +00:00
Florian Fainelli 6f503e42e0 [mcs814x] nuport-mac: close possible race condition during start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:13 +00:00
Florian Fainelli 8aa941f17a [mcs814x] nuport-mac: unmap the DMA buffer when closing device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:09 +00:00
Florian Fainelli c447469124 [mcs814x] nuport-mac: check dma_map_single address return values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:04 +00:00
Florian Fainelli bd676f181a [mcs814x] build a Devolo dLAN USB Extender specific image
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 21:51:00 +00:00
Florian Fainelli e0ed3cba8d [mcs814x] cleanup image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:50:55 +00:00
Felix Fietkau 02c27ce8e5 ath9k: fix handling of decryption errors, should improve link stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 18:23:04 +00:00
Felix Fietkau 97f7084e73 ath5k: revert a buggy tx power related patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 18:23:00 +00:00
Florian Fainelli 11408fde94 [package] base-files: check for ldd presence and executability (#11991)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 15:37:34 +00:00
Felix Fietkau 59e0be3522 ath9k: fix hang issues on hw reset caused by interrupt storms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 12:56:44 +00:00
John Crispin 00f2d18224 [lantiq] pci gpio mapping
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-08 12:14:43 +00:00
Jo-Philipp Wich 8e7bd7eb2e [package] hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 11:13:12 +00:00
Florian Fainelli 1d37d67df3 [package] busybox: support V=c toplevel verboseness flag (#11799)
Signed-off-by: Gregory M. Turner <gmt@malth.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-07 16:08:11 +00:00
Florian Fainelli 136aed85e3 [package] w1-gpio-custom: set enable_external_pullup to null (#8952)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-07 16:08:08 +00:00
Felix Fietkau 6fea07e854 ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-07 09:36:24 +00:00
Felix Fietkau e41d1a7d4e ath9k: extend and enable PA predistortion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 22:11:30 +00:00
Felix Fietkau af20cf9e81 mac80211: do not delete linux/*_platform.h, they are touched by patches. instead make the build fail if they differ from the ones in the kernel tree to prevent subtle runtime issues (see #11981)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 20:18:07 +00:00
John Crispin 05b6aa01bf [lantiq] fixes tapi dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 18:56:38 +00:00
John Crispin 2e64b75f00 [e2fsprogs] fixes package description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 18:54:36 +00:00
Felix Fietkau 607db2a586 ath5k: add various pending tx power fixes, vastly improves stability and performance with various cards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 15:33:24 +00:00
Hauke Mehrtens ebdd990be5 [packages] mac80211: remove header files used to share struct with platform code.
The structs defined in these header files should be the same as the 
structes used by the platform code otherwise it will cause strange 
runtime errors. By removing them from compat-wireless we will get a 
compile error instead of a runtime error if they are out of sync.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 23:43:36 +00:00
Jonas Gorski 61b89035c3 bcm63xx: fix USB base registers and IRQs for BCM6328
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 23:18:22 +00:00
Hauke Mehrtens 94458bde31 [brcm47xx] update tg3 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 20:27:40 +00:00
Hauke Mehrtens 0024237a5e [brcm47xx] generate image for Linksys e3200
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 13:14:00 +00:00
Hauke Mehrtens 368889cbfe [packages] switch: clean up robo switch driver
* remove use_et, all supported drivers are using mii ioctls
 * remove robo.phy_addr, phy_addr was always set to ROBO_PHY_ADDR.
 * remove support for old kernel versions
 * do_ioctl is allways called with buff == NULL
 * use if_mii


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 13:10:43 +00:00
Hauke Mehrtens 3b5a66a3de brcm47xx: update gpio patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 12:40:05 +00:00
Hauke Mehrtens bdf997adb2 brcm47xx: fix patch which moves the flash struct in wgt634u code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 12:39:15 +00:00
John Crispin 080d8b3d56 [kernel] fix xen pci module, partially fixes #11970
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 08:16:50 +00:00
John Crispin 2307592764 [lantiq] W502V/ARV4525 wireless mac bugfix
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-04 20:14:52 +00:00
Hauke Mehrtens b37db09843 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 19:46:25 +00:00
John Crispin 5bc4fcb3ad [kernel] gspca-sn9c20x.ko was not insmod'ed due to typo
fixes #11973

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 19:17:49 +00:00
John Crispin c45d8c8e90 [atheros] wrt55agv2-spidevs needs <linux/modules.h>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-03 09:38:24 +00:00
John Crispin ce06d1cf7b [lantiq] cleanup patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-03 08:53:02 +00:00
Florian Fainelli a8facfad2a [mcs814x] nuport-mac: properly protect the phy interrupt handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 18:13:17 +00:00
John Crispin 34b1cc667c [bufferbloat] Codel: avoid a nul rec_inv_sqrt
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 13:39:50 +00:00
John Crispin 894d03b715 [lantiq] fixes i2c clock enable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 13:29:49 +00:00
Gabor Juhos 3b76373f58 ar71xx: simplify misc IRQ handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 11:25:49 +00:00
Gabor Juhos c095247b18 ar71xx: fix AR934X_EHCI_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 11:25:46 +00:00
Gabor Juhos e4c9a6778a ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:41 +00:00
Gabor Juhos 7a6d8bdc0a ar71xx: image: allow to use board specific code in the lzma-loader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:33 +00:00
Gabor Juhos 18315094a0 ar71xx: init switch hw_reset on the TL-WR1043ND board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:28 +00:00
Gabor Juhos fcbe8ef24f generic: rtl836x: add hw_reset field to struct rtl8366_smi
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-02 09:54:21 +00:00
Gabor Juhos 43975158da generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:13 +00:00
Florian Fainelli 677ee8449a [mcs814x] add missing netmask to the network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 22:09:13 +00:00
Florian Fainelli 031b03b3dd [mcs814x] assume the link is up and full-duplex by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 21:56:54 +00:00
Florian Fainelli bf2807bdf2 [mcs814x] add a default and suitable network config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 21:56:49 +00:00