Commit graph

6812 commits

Author SHA1 Message Date
Florian Fainelli
fad3f46f0d fix mtd warnings
Fixes for the following warnings:

drivers/mtd/devices/block2mtd.c: In function '_open_bdev':
drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed declarations and code
drivers/mtd/devices/block2mtd.c: In function 'add_device':
drivers/mtd/devices/block2mtd.c:399:13: warning: assignment discards qualifiers from pointer target type

In the case of 442-block2mtd_probe.patch, it's not until the insertion of a executable statement before the definition that causes a warning, so I've chosen to resolve the issue here by splitting the definition and the initialization into a definition and a statement (and assignment) instead.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27007
2011-05-25 19:16:58 +00:00
Hauke Mehrtens
f5f989e3fb brcm47xx: remove old kernel
SVN-Revision: 27006
2011-05-25 18:05:54 +00:00
Hauke Mehrtens
06166b01dd brcm47xx: fix partition layout on SimpleShare devices.
The flash driver code should be cleaned up and the broad detection code should be placed into arch code and used here.

This fixes #9323

Thank you Will Holmes for the patch.

SVN-Revision: 27005
2011-05-25 17:46:34 +00:00
Hamish Guthrie
50d2a84a21 Clean up patch not applying
SVN-Revision: 26997
2011-05-24 10:00:36 +00:00
Florian Fainelli
16dfe8b4d1 add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 26959
2011-05-20 10:06:25 +00:00
Florian Fainelli
6c8387fe15 add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

SVN-Revision: 26958
2011-05-20 10:06:22 +00:00
Florian Fainelli
031ea08ef0 refresh patches
SVN-Revision: 26957
2011-05-20 10:06:18 +00:00
Florian Fainelli
3e83f60a66 add support for D-Link DVA-G3810BN/TL
This patch adds support for D-Link's DVA-G3810BN/TL product.

Signed-off-by: Roman Dumycz <roman@secureas.com>

SVN-Revision: 26956
2011-05-20 10:06:15 +00:00
Florian Fainelli
f9f8dcfa70 refresh 2.6.37 patches
SVN-Revision: 26955
2011-05-20 10:06:11 +00:00
Florian Fainelli
f0a99c1692 add support for BT Voyager 2500 (#9070)
SVN-Revision: 26954
2011-05-20 10:06:07 +00:00
Florian Fainelli
acf0ec224f add support for USR9108 LEDs (#9372)
SVN-Revision: 26953
2011-05-20 10:06:04 +00:00
Florian Fainelli
58b5a2ca7b add GT701 LEDs support (#9382)
SVN-Revision: 26952
2011-05-20 10:06:00 +00:00
Daniel Dickinson
f2c86a3835 Simple typo for kmod- prefix in alix2 target makefile.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26945
2011-05-19 04:29:40 +00:00
Hamish Guthrie
54415a28d6 Remove override of max80211.sh
SVN-Revision: 26936
2011-05-18 12:43:54 +00:00
Hamish Guthrie
e7dfadd012 Move beagleboard base-files to beagleboard sub-target, remove unused mac80211.sh
SVN-Revision: 26932
2011-05-18 11:50:36 +00:00
Matteo Croce
17e257925f ar71xx: don't probe the LAN PHY
SVN-Revision: 26924
2011-05-17 11:15:24 +00:00
Matteo Croce
4deecea26b ar71xx: detect link on LAN ports
SVN-Revision: 26922
2011-05-17 11:12:56 +00:00
John Crispin
dfc19a34b4 * adds support for Artec Thincan
Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com>

SVN-Revision: 26919
2011-05-17 10:35:14 +00:00
Felix Fietkau
894d50da25 kernel: backport some ssb changes to support a mac80211 update
SVN-Revision: 26911
2011-05-16 21:50:20 +00:00
Jo-Philipp Wich
d475545c91 remove an accidentally copied comment from the option.ko device patch
SVN-Revision: 26908
2011-05-15 21:28:12 +00:00
Jo-Philipp Wich
43e002fe5e add definitions for Alcatel X220D and Huawai E173s to option.ko (#9422)
SVN-Revision: 26906
2011-05-15 19:17:31 +00:00
Hauke Mehrtens
a4c0645326 kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches
Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel.

SVN-Revision: 26905
2011-05-15 17:23:02 +00:00
Matteo Croce
2ea528d1d0 ar71xx: add link detection on Ubiquiti devices WAN port
SVN-Revision: 26891
2011-05-14 23:31:50 +00:00
Matteo Croce
c0c2e18452 use correct macros and frame size in ag71xx
SVN-Revision: 26890
2011-05-14 23:10:06 +00:00
Matteo Croce
99d1d4f795 ar71xx: cosmetic fixes
SVN-Revision: 26889
2011-05-14 23:08:00 +00:00
Hamish Guthrie
d6e96fd7d8 Add new defconfig and profile for es variant
SVN-Revision: 26884
2011-05-13 11:49:52 +00:00
Hamish Guthrie
abd4a7df35 Squash uids
SVN-Revision: 26883
2011-05-13 10:36:39 +00:00
Daniel Dickinson
09e0d10010 Removed Alix.mk profile which was accidently left as an empty file applying the patch during r26879 and r26880.
SVN-Revision: 26882
2011-05-13 07:23:11 +00:00
Daniel Dickinson
8d66bf7e72 Add missed files from previous commit: This patch provides an image suitable for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's.
Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker.

GPIO 1 : SIM select (Alix6)
GPIO 6 : LED1
GPIO 25 : LED2
GPIO 27 : LED3 or RFKILL (Alix6)

GPIO 24 : Soft switch 1

No kernel version bump.  Added i2c-scx200-acb for lm-sensors support.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26880
2011-05-13 06:08:49 +00:00
Daniel Dickinson
937362f270 This patch provides an image suitable for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's.
Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker.

GPIO 1 : SIM select (Alix6)
GPIO 6 : LED1
GPIO 25 : LED2
GPIO 27 : LED3 or RFKILL (Alix6)

GPIO 24 : Soft switch 1

No kernel version bump.  Added i2c-scx200-acb for lm-sensors support.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26879
2011-05-13 06:06:42 +00:00
Florian Fainelli
9c8a2d5961 bcm63xx: Add support for the T-Home Speedport W 303V
Add the required board definition, default config and image generation for
the T-Home Speedport W 303V Typ B.

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

SVN-Revision: 26878
2011-05-11 13:34:14 +00:00
Florian Fainelli
7d3b735854 bcm63xx: Update support for the DSL-274xB revision C
Rename the DSL-274xB rev C2's board ID to "AW4139" to match the one used
for the rev C3 (same hardware) and add a fixup for C2. Also generate
images for C3.

While we are at it, rename the LEDs to conform to the Linux LED naming
conventions.

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

SVN-Revision: 26876
2011-05-11 13:33:50 +00:00
Florian Fainelli
0fb1c2d537 bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26875
2011-05-11 13:33:45 +00:00
Florian Fainelli
c6af9c23b7 bcm63xx: Decouple Board ID and image name for fixup
Make the fixup board ID independent from the image name to allow using
the same board ID for similar devices.

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

SVN-Revision: 26874
2011-05-11 13:33:41 +00:00
Florian Fainelli
4ea316216a switch to 2.6.38
SVN-Revision: 26873
2011-05-11 13:33:34 +00:00
Florian Fainelli
3fc33726a5 add missing 2.6.38 touchscreen config symbols
SVN-Revision: 26872
2011-05-11 13:33:30 +00:00
John Crispin
60c125b8e6 (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC
This patch adds 802.1Q VLAN support for the ADM6996M chip.

The driver is loaded for both the FC and M model. It will detect which of the
two chips is connected. The FC model is initialised, but no further
functionality is offered.

The PHY driver will always report "100 Mbit/s, link up", for both the M and FC
models. This reflects the fact that the link between switch chip and Ethernet
MAC is always on[1].

Further documentation can be found in the kernel's
Documentation/networking/adm6996.txt

Signed-of-By: Peter Lebbing <peter@digitalbrains.com>

SVN-Revision: 26865
2011-05-09 15:21:58 +00:00
Gabor Juhos
9b5036a29d ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

SVN-Revision: 26862
2011-05-08 21:38:51 +00:00
Gabor Juhos
b39eebdf1e ar71xx: add uci config for the WLAN LED on the WRT160NL
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>

SVN-Revision: 26861
2011-05-08 21:38:49 +00:00
Gabor Juhos
858e2e719b ar71xx: use phy0tpt trigger for the WLAN LEDs
SVN-Revision: 26860
2011-05-08 21:38:48 +00:00
Gabor Juhos
869f3cb718 ar71xx: remove superfluous fifo_cfg overrides
SVN-Revision: 26859
2011-05-08 21:38:46 +00:00
Travis Kemen
bc121d5706 ipv6: restore correct ECN handling on TCP xmit Thanks Dave Taht
SVN-Revision: 26858
2011-05-08 17:08:06 +00:00
Gabor Juhos
5d77f370d6 ar71xx: ag71xx: make switch register access atomic
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.

This is easily noticable during an iperf session:

...
[  3] 52.0-53.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 53.0-54.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[  3] 54.0-55.0 sec  6.75 MBytes  56.6 Mbits/sec
[  3] 55.0-56.0 sec  0.00 Bytes  0.00 bits/sec
[  3] 56.0-57.0 sec  10.5 MBytes  88.1 Mbits/sec
...
[  3] 169.0-170.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 170.0-171.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[  3] 171.0-172.0 sec  7.63 MBytes  64.0 Mbits/sec
[  3] 172.0-173.0 sec  9.38 MBytes  78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[  3] 173.0-174.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 174.0-175.0 sec  11.4 MBytes  95.4 Mbits/sec

SVN-Revision: 26856
2011-05-08 16:32:53 +00:00
Gabor Juhos
3711658281 ar71xx: ag71xx: fix section mismatch warnings
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.

The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.

SVN-Revision: 26855
2011-05-08 13:30:36 +00:00
Gabor Juhos
ef53029870 ar71xx: ag71xx: fix build error if debugfs is enabled
SVN-Revision: 26854
2011-05-08 13:30:26 +00:00
Hauke Mehrtens
732abc44cc brcm47xx: update patches
SVN-Revision: 26846
2011-05-07 12:49:17 +00:00
Gabor Juhos
8b67d748cb ar71xx: ag71xx: add debugfs entry for [rt]x_ring
SVN-Revision: 26845
2011-05-07 12:40:34 +00:00
Gabor Juhos
2166432ba0 ar71xx: ag71xx: add timestamps to ag71xx_buf
SVN-Revision: 26844
2011-05-07 12:40:28 +00:00
Gabor Juhos
896e1d1ab4 ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
SVN-Revision: 26843
2011-05-07 12:40:26 +00:00
Gabor Juhos
a6708d20d1 ar71xx: ag71xx: use debugfs_remove_recursive
SVN-Revision: 26842
2011-05-07 12:40:25 +00:00