Commit Graph

8709 Commits

Author SHA1 Message Date
Florian Fainelli
c16bf519f1 nuport-mac: delay call to napi_start() until fully able to process RX
SVN-Revision: 33079
2012-08-10 07:04:21 +00:00
Florian Fainelli
0028429dfa set a compatible command-line to boot from flash
SVN-Revision: 33078
2012-08-10 07:04:16 +00:00
Gabor Juhos
5dd996bc2a generic: rtl8366_smi: increase delay after switch hw reset
SVN-Revision: 33077
2012-08-10 06:32:00 +00:00
Jo-Philipp Wich
c8a0166212 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>

SVN-Revision: 33072
2012-08-09 09:41:22 +00:00
Florian Fainelli
47380a4388 nuport-mac: use dma_mapping_error() instead of checking pointers
Thanks Gabor for spotting this

SVN-Revision: 33071
2012-08-09 09:06:35 +00:00
Florian Fainelli
7f9bfa3fcd nuport-mac: rework PHY interrupt configuration to avoid races
SVN-Revision: 33070
2012-08-08 21:51:18 +00:00
Florian Fainelli
5e877f02b4 nuport-mac: close possible race condition during start
SVN-Revision: 33069
2012-08-08 21:51:13 +00:00
Florian Fainelli
35351a28b9 nuport-mac: unmap the DMA buffer when closing device
SVN-Revision: 33068
2012-08-08 21:51:09 +00:00
Florian Fainelli
b77494fa2f nuport-mac: check dma_map_single address return values
SVN-Revision: 33067
2012-08-08 21:51:04 +00:00
Florian Fainelli
798cc28d73 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.

SVN-Revision: 33066
2012-08-08 21:51:00 +00:00
Florian Fainelli
f8386ecbc6 cleanup image generation
SVN-Revision: 33065
2012-08-08 21:50:55 +00:00
John Crispin
64b385dda7 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>

SVN-Revision: 33054
2012-08-08 12:14:43 +00:00
Jonas Gorski
4feeda756e bcm63xx: fix USB base registers and IRQs for BCM6328
SVN-Revision: 33005
2012-08-05 23:18:22 +00:00
Hauke Mehrtens
a0fb060211 update tg3 driver
SVN-Revision: 33004
2012-08-05 20:27:40 +00:00
Hauke Mehrtens
35661401da generate image for Linksys e3200
SVN-Revision: 33003
2012-08-05 13:14:00 +00:00
Hauke Mehrtens
a71f347c30 brcm47xx: update gpio patch
SVN-Revision: 33001
2012-08-05 12:40:05 +00:00
Hauke Mehrtens
1d40a652ee brcm47xx: fix patch which moves the flash struct in wgt634u code
SVN-Revision: 33000
2012-08-05 12:39:15 +00:00
John Crispin
5f438c3565 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>

SVN-Revision: 32993
2012-08-04 20:14:52 +00:00
Hauke Mehrtens
0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
2012-08-04 19:46:25 +00:00
John Crispin
060b161ca6 cleanup patches
SVN-Revision: 32953
2012-08-03 08:53:02 +00:00
Florian Fainelli
162e272b4b nuport-mac: properly protect the phy interrupt handler
SVN-Revision: 32951
2012-08-02 18:13:17 +00:00
John Crispin
f45132d1d4 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>

SVN-Revision: 32950
2012-08-02 13:39:50 +00:00
John Crispin
c2d3274ffc fixes i2c clock enable
SVN-Revision: 32949
2012-08-02 13:29:49 +00:00
Gabor Juhos
e320a7e649 ar71xx: simplify misc IRQ handling
SVN-Revision: 32948
2012-08-02 11:25:49 +00:00
Gabor Juhos
3e1e52a524 ar71xx: fix AR934X_EHCI_SIZE
SVN-Revision: 32947
2012-08-02 11:25:46 +00:00
Gabor Juhos
b873051706 ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
SVN-Revision: 32946
2012-08-02 09:54:41 +00:00
Gabor Juhos
e29d6bec6f ar71xx: image: allow to use board specific code in the lzma-loader
SVN-Revision: 32945
2012-08-02 09:54:33 +00:00
Gabor Juhos
79a8660d67 ar71xx: init switch hw_reset on the TL-WR1043ND board
SVN-Revision: 32944
2012-08-02 09:54:28 +00:00
Gabor Juhos
e2782eae8e 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.

SVN-Revision: 32943
2012-08-02 09:54:21 +00:00
Gabor Juhos
614ca3cc9e generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
SVN-Revision: 32942
2012-08-02 09:54:13 +00:00
Florian Fainelli
9f011e7225 add missing netmask to the network config
SVN-Revision: 32941
2012-08-01 22:09:13 +00:00
Florian Fainelli
5133a44785 assume the link is up and full-duplex by default
SVN-Revision: 32940
2012-08-01 21:56:54 +00:00
Florian Fainelli
56aac45139 add a default and suitable network config file
SVN-Revision: 32939
2012-08-01 21:56:49 +00:00
Gabor Juhos
563400ef10 ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code]

Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32934
2012-08-01 12:24:57 +00:00
Gabor Juhos
8eabe64e6b ar71xx: ew-dorin: added USB support
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32933
2012-08-01 12:24:56 +00:00
Gabor Juhos
1af4fd7660 ar71xx: Buffalo WLAE-AG300N wireless led patch
Here is the uci-defaults version of the led support for
the Buffalo WLAE-AG300N.

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32932
2012-08-01 12:24:54 +00:00
Gabor Juhos
010aec0619 ar71xx: Buffalo WLAE-AG300N initial support
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>

SVN-Revision: 32931
2012-08-01 12:24:52 +00:00
Florian Fainelli
df48d71d72 resync defconfig enable XZ compression
SVN-Revision: 32930
2012-08-01 12:01:27 +00:00
Florian Fainelli
3cd753408d properly generate squashfs, jffs2 and initramfs images and kernels
SVN-Revision: 32927
2012-07-31 23:09:50 +00:00
Florian Fainelli
c0561a42e7 disable crashlog on ARM platforms for the moment
It is currently badly broken on ARM, until fixed, disable it

SVN-Revision: 32926
2012-07-31 23:09:46 +00:00
John Crispin
f5f36911f0 add lantiq svip support
SVN-Revision: 32925
2012-07-31 18:49:54 +00:00
Jonas Gorski
07c4524d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
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]

SVN-Revision: 32924
2012-07-31 14:27:47 +00:00
Jonas Gorski
820c224029 bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32923
2012-07-31 14:27:42 +00:00
Jonas Gorski
dcd339ac9d bcm63xx: enable usb for bcm6328
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32922
2012-07-31 14:27:34 +00:00
Jonas Gorski
94d257a851 bcm63xx: update enetswitch driver
Update enetswith driver with latest fixes and additions.

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

SVN-Revision: 32921
2012-07-31 14:27:31 +00:00
Jonas Gorski
fa75bd977a bcm63xx: reorder patches
Fix the order and names of patches.

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

SVN-Revision: 32920
2012-07-31 14:27:25 +00:00
Florian Fainelli
d1ab4df0d6 move i2c module to target modules.mk
SVN-Revision: 32910
2012-07-29 13:20:51 +00:00
Florian Fainelli
a5738c960a resync config
SVN-Revision: 32908
2012-07-29 13:20:39 +00:00
Florian Fainelli
17244dea00 use the same description as other omap platforms (without the dash)
SVN-Revision: 32907
2012-07-29 13:20:35 +00:00
John Crispin
ee0946a5f4 refresh pwm patch
SVN-Revision: 32905
2012-07-29 11:53:06 +00:00