1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 15:37:29 +02:00
Commit Graph

7905 Commits

Author SHA1 Message Date
juhosg
eaa759a8e5 ar71xx: Fix header offset for newer WRT160NL models
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:20 +00:00
juhosg
5b9155beba ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:19 +00:00
juhosg
92e4bfb535 ar71xx: reduce the size of the squashfs-4k binaries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:18 +00:00
juhosg
bd8a2aaee9 ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:15 +00:00
juhosg
c772123439 ar71xx: sync ath9k_platform_data.h with compat-wireless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:14 +00:00
juhosg
ee7a116328 ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:13 +00:00
juhosg
20d6650643 ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:12 +00:00
juhosg
75e1476cce ar71xx: ag71xx: make ring sizes configurable via ethtool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:10 +00:00
juhosg
a137dec884 ar71xx: ag71xx: prepare to make ring sizes configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:09 +00:00
juhosg
940317dc35 ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
Reported-by: Dave Täht <dave.taht@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:07 +00:00
nbd
10153f8ada x86: add additional companion chip drivers to alix2 and geos
Add the MFGPT high precision timers, and integration into the schedule (clock events).

Use OHCI, not UHCI usb module.

Remove VIA SATA driver from Alix2... that was accidentally cloned from net5501 platform.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 16:57:05 +00:00
nbd
17982e54d4 x86: remove pata-amd driver from generic x86 images, add addition cs553x modules
The pata-cs5535/pata-cs5536 driver is actually fairly rare: it only gets used on embedded platforms. Therefore, we remove it from the generic x86 configuration.

Also, add definitions for other useful geode modules (high-res timers, MFGPT timers, etc).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 16:57:01 +00:00
mirko
0ed739e5f4 purge out CONFIG_CRYPTO* symbols out of target specific kernel configs
since OpenWrt is taking care of them

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 09:47:30 +00:00
nbd
debcf79f90 ar71xx: only enable the rx engine after the link is up, fixes a race condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:08:01 +00:00
nbd
20aef6d6fc ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:07:57 +00:00
kaloz
c8ba3d408b [cns3xxx]: upgrade to 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 13:55:34 +00:00
blogic
fd8ccf9c65 [lantiq]
* backport 2.6.8 patches to .39 / .32.33
* remove lqtapi
* bump tapi/dsl to .39
* migrate to new ltq_ style api
* add amazon_se support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-29 21:19:26 +00:00
florian
50d9b77c8c bcm63xx: Add support for 2.6.39
Add support for Kernel 2.6.39. Boots fine on a BCM6358.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-27 09:54:52 +00:00
florian
4ffe2a8029 bcm63xx: Add support for 2.6.38
Add support for Kernel 2.6.38, based on 2.6.38.6. Boots fine on a BCM6358.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-27 09:54:48 +00:00
florian
540c634db7 [brcm63xx] fold 446-board-D4PW_correction.patch in 440-board-D4PW.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-26 13:53:00 +00:00
florian
a18e55e2d0 [brcm63xx] renumber patches accordingly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-26 13:52:56 +00:00
florian
ba86e7162d [brcm63xx] renumber board patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-26 12:09:15 +00:00
hauke
46a821162a kernel: exportfs: reallow building as a module
It was originally tristate, but was changed to bool to prevent a build
breakage in an earlier patch revision (for a new syscall). The actual
commit[1] changed it in a way this isn't needed anymore, but
accidentially left the EXPORTFS change in. There's no reason for it
not being buildable as a module, so changing it back to tristate is
fine.

see: https://patchwork.kernel.org/patch/812832/

Thank you Jonas Gorski for the patch. 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 20:57:13 +00:00
hauke
31c95ff1eb kernel: generic: Update 2.6.39 to final
* Add missing config symbols
* Update package/kernel for 2.6.39

CONFIG_BT_L2CAP=y and CONFIG_BT_SCO=y are set to build them into the bluetooth module.

Thank you Jonas Gorski for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:51:40 +00:00
hauke
c77971e8b4 kernel: some updates for kernel 2.6.39
* add md5sum for kernel
* add some missing config symbols
* add some ssb patches to make compat-wireless compile

Thank you Peter Wagner for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:32:00 +00:00
hauke
a3c9e2fe7a brcm47xx: initial 2.6.39 support for brcm47xx
Thank you Peter Wagner for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:27:08 +00:00
florian
97d0245acb [kernel] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:16:58 +00:00
hauke
744a7f4397 brcm47xx: remove old kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 18:05:54 +00:00
hauke
82c6aea1dc 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 17:46:34 +00:00
hcg
b6fd9c3452 [generic] Clean up patch not applying
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 10:00:36 +00:00
florian
65302aa5bc [brcm63xx] add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:25 +00:00
florian
233a4cab5d [brcm63xx] add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:22 +00:00
florian
c86364399e [brcm63xx] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:18 +00:00
florian
547875d0c9 [brcm63xx] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:15 +00:00
florian
8f5d6564e0 [kernel] refresh 2.6.37 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:11 +00:00
florian
3523230780 [brcm63xx] add support for BT Voyager 2500 (#9070)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:07 +00:00
florian
552666835d [brcm63xx] add support for USR9108 LEDs (#9372)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:04 +00:00
florian
dd4c75bad5 [ar7] add GT701 LEDs support (#9382)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:00 +00:00
cshore
d621e2d0b6 Simple typo for kmod- prefix in alix2 target makefile.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 04:29:40 +00:00
hcg
bd17423a6c [omap35xx]: Remove override of max80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:43:54 +00:00
hcg
ca8c3e1238 [omap35xx] Move beagleboard base-files to beagleboard sub-target, remove unused mac80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 11:50:36 +00:00
matteo
005a65e01d ar71xx: don't probe the LAN PHY
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:15:24 +00:00
matteo
483991c363 ar71xx: detect link on LAN ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:12:56 +00:00
blogic
9f3b548077 [x86]
* adds support for Artec Thincan

Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:35:14 +00:00
nbd
5478db1fd5 kernel: backport some ssb changes to support a mac80211 update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:20 +00:00
jow
c38b69687a [generic] remove an accidentally copied comment from the option.ko device patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 21:28:12 +00:00
jow
4ce6c0f0f2 [generic] add definitions for Alcatel X220D and Huawai E173s to option.ko (#9422)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 19:17:31 +00:00
hauke
95ef6e1d42 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 17:23:02 +00:00
matteo
511dea0dac ar71xx: add link detection on Ubiquiti devices WAN port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-14 23:31:50 +00:00
matteo
51053e7640 use correct macros and frame size in ag71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-14 23:10:06 +00:00
matteo
0cbd6d9057 ar71xx: cosmetic fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-14 23:08:00 +00:00
hcg
b72f8806e0 [omap35xx]: Add new defconfig and profile for es variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-13 11:49:52 +00:00
hcg
668038203f [omap35xx] Squash uids
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-13 10:36:39 +00:00
cshore
806e48f8a2 [x86] Removed Alix.mk profile which was accidently left as an empty file applying the patch during r26879 and r26880.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-13 07:23:11 +00:00
cshore
0118ba5ae3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-13 06:08:49 +00:00
cshore
33f2d48878 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-13 06:06:42 +00:00
florian
4b838055c4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:34:14 +00:00
florian
4b5057ec0f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:50 +00:00
florian
65b306d01e bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:45 +00:00
florian
a49f5b3910 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:41 +00:00
florian
fcef96a488 [ep93xx] switch to 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:34 +00:00
florian
21f2f27579 [kernel] add missing 2.6.38 touchscreen config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:30 +00:00
blogic
10f03e0475 [PATCH v3] (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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-09 15:21:58 +00:00
juhosg
b500b67652 ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:51 +00:00
juhosg
b3a8c8a5ce ar71xx: add uci config for the WLAN LED on the WRT160NL
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:49 +00:00
juhosg
a1c5a3da98 ar71xx: use phy0tpt trigger for the WLAN LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:48 +00:00
juhosg
5b6a159d03 ar71xx: remove superfluous fifo_cfg overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 21:38:46 +00:00
thepeople
318f8f9eeb [PATCH] ipv6: restore correct ECN handling on TCP xmit
Thanks Dave Taht

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 17:08:06 +00:00
juhosg
bb14a2f07c 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 16:32:53 +00:00
juhosg
0511a7adf1 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 13:30:36 +00:00
juhosg
14088891b0 ar71xx: ag71xx: fix build error if debugfs is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 13:30:26 +00:00
hauke
26205d18e8 brcm47xx: update patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:49:17 +00:00
juhosg
e5061b1935 ar71xx: ag71xx: add debugfs entry for [rt]x_ring
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:34 +00:00
juhosg
5155342ee7 ar71xx: ag71xx: add timestamps to ag71xx_buf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:28 +00:00
juhosg
5e10b16d95 ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:26 +00:00
juhosg
f6816e49d9 ar71xx: ag71xx: use debugfs_remove_recursive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 12:40:25 +00:00
juhosg
193e04ebee ar71xx: override wmac device name for the AR934x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:32 +00:00
florian
663cf912af [ar7] remove useless patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-06 12:37:40 +00:00
florian
9db1daeb99 [kernel] fill maintainer infos for a couple of targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-06 12:37:36 +00:00
florian
2a36c4c1d0 [malta] update to 2.6.38.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 16:35:44 +00:00
florian
fd174f110c [kernel] add missing 2.6.38 symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 16:35:40 +00:00
hauke
a921520508 brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data from the platform device to the correct pointer.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 14:05:21 +00:00
hauke
6a2f5043e3 brcm47xx: fix typo in patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 13:18:35 +00:00
acoul
348cbe4bd3 linux/ar71xx: add some missing symbols for nand/yaffs targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 07:19:46 +00:00
acoul
65c914d861 linux/generic: port yaffs to 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 09:35:06 +00:00
acoul
55090a4f27 linux/rb532: use kernel and initramfs tags on image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 08:47:00 +00:00
jow
15f719295e [PATCH] geos: remove unneeded modules
The via-sata and gpio-nsc modules are both unneeded on the Geos platform.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:18:12 +00:00
florian
4c6cfc925c [uml] update to 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 07:57:25 +00:00
nbd
cbc75e81c2 cns3xxx: remove one of the dma cache patches, it causes a regression in the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 00:28:30 +00:00
hauke
374bb82f67 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an 
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
nbd
f7215e23eb cns3xxx: fix missing and incomplete cache flushes on DMA cache sync for cpu - fixes some issues with ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 15:53:56 +00:00
nbd
118a9c5154 ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 21:27:42 +00:00
nbd
dc218ac48d ar8316: automatically detect whether port4 is used as PHY or as a switch port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 21:27:37 +00:00
nbd
8220523bad ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 19:30:49 +00:00
nbd
bfce59f539 ar8216: support AR8316 rev 0 devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-28 19:30:43 +00:00
acoul
98a395304f linux/atheros: add 2.6.38 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-27 17:18:03 +00:00
nbd
43ac860de1 swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK
SPIN_LOCK_UNLOCKED has been deprecated since 2.6.19 and will get removed
in 2.6.39, so replace it with DEFINE_SPINLOCK().

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 23:05:29 +00:00
acoul
15b4a061a0 linux/adm5120: update wget2nand script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 13:18:33 +00:00
acoul
b7a26a735b linux/ar71xx: update wget2nand script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 12:38:25 +00:00
acoul
dfba2f5fb1 linux/ar71xx: add 2.6.38 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 11:45:23 +00:00