1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 14:40:17 +02:00
Commit Graph

6978 Commits

Author SHA1 Message Date
hcg
6f5afda3d0 gumstix: Change defconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-04 11:25:34 +00:00
hcg
a30ce2b2e7 omap35xx: Add temporary fix for marvell wlan MAC address detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-04 10:10:48 +00:00
nbd
f093fbf8a3 swconfig: cleanup of kernel drivers and interface
- add some comments to a few data structures
- add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy
- get rid of the switch_dev.priv pointer - using container_of() is better

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-04 00:43:40 +00:00
hauke
fa5411e7e4 brcm47xx: ignore some parts of flash on some netgear devices. This
space is used to store config values. When overwriting it the device 
will not start any more.

closes #7630

Thank you realopty for testing.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-03 20:35:53 +00:00
jow
fe9e70274f ip17xx: r21709 broke VLAN functionality on the IP175C switch, add back mdelay() to wait before reading back the phy state, fixes ethernet on the DIR-300 and possibly others
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-03 03:04:34 +00:00
cshore
53a9db66e3 [brcm63xx]: base-files: diag.sh: For power button as preinit status led, end with led left on, not off
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 19:33:08 +00:00
cshore
b1544d6256 [brcm63xx] base-files: brcm63xx.sh: Added comtrend (96348GW-11) to routers with buttons and leds on preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 19:32:59 +00:00
cshore
45357a4653 [brcm63xx] patches-2.6.32/33: Reset button on Comtrend routers is GPIO 33 not GPIO 32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 19:32:40 +00:00
lars
e0e5bd88de [xburst] Add 2.6.35 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 18:24:06 +00:00
acoul
5ef70c6dac package/compcache: use mainline modules for kernels >=2.6.33 (thank you nbd)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 16:57:24 +00:00
florian
b0a16a20fe [octeon] add 2.6.34 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 12:41:16 +00:00
florian
23b5e584a9 [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 12:41:09 +00:00
florian
cc84d9a7e1 [ramips] fix jffs2 64k and 128k images overwrite each other
When trying to build images with jffs2 filesystem for ramips platform
there is only one jffs2 image produced instead of two (64k and 128k).

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 11:42:17 +00:00
hauke
503bfaa4f1 brcm47xx: some checkpatch fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 10:06:05 +00:00
hauke
48bf9ccb33 brcm47xx: some fixes
* fix return codes of nvram_getenv. Now it behaves like cfe_getenv.
* also check cfe for kernel_args param. 
* some style fixes


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 10:05:29 +00:00
acoul
ee0a2580d0 generic/patches-2.6.32: finalize jffs2/lzma support on 2.6.32.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 06:49:38 +00:00
jow
5b072cdd2d [kernel] fix a typo in config-2.6.34 and config-2.6.35, thanks frogonwheels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 23:23:42 +00:00
hauke
8eb932c7e1 mostly revert commit r22396
CFE does not boot images generated with these checksums because of 
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages 
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 21:19:49 +00:00
acoul
8f75cb6fa2 [atheros] add missing bits & bytes from r22412
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 09:59:13 +00:00
acoul
5d02e8b3f1 target/linux: refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-29 17:20:25 +00:00
acoul
9e3ec4031c [atheros] enable mtu & mac config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-29 17:16:44 +00:00
acoul
eb213ae836 atheros/patches-2.6.35: sync patches against 2.6.35-rc6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-29 14:13:51 +00:00
acoul
2122c93af5 generic/patches-2.6.34: Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS,
using ramfs instead. (gone mainline in kernel 2.6.35-r3)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28 08:34:03 +00:00
jow
55da36a1f2 [buildsystem] revert r22372 and r22405, dependency on host libtool causes problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28 02:18:16 +00:00
nbd
a0d848ed9d ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 21:04:43 +00:00
markus
3c05ba2472 fix CRC32 calculation for sysupgrade
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 15:37:37 +00:00
jow
511da18ce7 [brcm63xx] reorder profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-26 18:58:35 +00:00
hauke
d3a030c623 brcm47xx: now hopfully realy commit the right things from r22385
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-25 16:10:51 +00:00
hauke
1d687ec7f8 brcm47xx: add missing part from r22385
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-25 16:07:40 +00:00
jow
00dc5ed796 [brcm63xx] fix a typo in 040-bcm963xx_flashmap.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-25 00:10:37 +00:00
hauke
507c1634ee brcm47xx: fill the whole sprom with data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 23:25:06 +00:00
acoul
31641990d7 generic/config-2.6.32: switch from gzip to lzma jffs2 compression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 08:14:22 +00:00
acoul
ad7b8d0ced ixp4xx: add kernel 2.6.34 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 00:18:58 +00:00
jow
ebd96b6723 [buildsystem] use host opkg for installing packages in buildroot and ImageBuilder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 19:49:19 +00:00
nbd
e0673d1c94 ar71xx: fix sysupgrade on the ubnt nanostation m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 18:16:47 +00:00
jow
8c71102761 [atheros] renaming of the IP175C switch driver brioke switch detection on the Dir-300 and others, fix it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 10:39:10 +00:00
nbd
858ebac7b8 ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 12:37:44 +00:00
claudio
c849302750 [at91] general cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 11:32:42 +00:00
claudio
8d879e2449 [at91] Add support for u-boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 11:32:38 +00:00
nbd
b80f2ac036 disable crash logging for uml, it cannot possibly work there anyway
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 15:02:53 +00:00
nbd
ec2064c374 kernel: add some missing debugging related config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 14:34:17 +00:00
kaloz
642064ae9a add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 11:20:53 +00:00
hauke
0474d29e5e brcm47xx: fix for boardflags by xMff
and checkpatch.pl fixes


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 19:41:17 +00:00
nbd
5b42ce672e kernel: add the new 'crashlog' feature, which tries to store kernel oops/panic logs in a fixed location in RAM to recover them after the reboot and make them available to user space using debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:21 +00:00
nbd
e70bddd713 ar71xx: set default values for the fifo cfg registers on AR724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:11 +00:00
hauke
a7a1dcb877 brcm47xx: write boardflags correct into sprom
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 21:45:29 +00:00
claudio
dba337333d [kernel] pwm: export the generic pwm api as module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 21:14:24 +00:00
hauke
9fe2a2d554 brcm47xx: prepare brcm47xx patches for sending to mainline.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 20:25:20 +00:00
hauke
03685da10d brcm47xx: remove kernel 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 20:07:24 +00:00
kaloz
66268489c4 rename the mx2 target to imx21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 12:32:18 +00:00
hcg
c844d7d207 [gumstix] Remove profile no longer required
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 12:29:41 +00:00
hcg
63b003d2cd [gumstix] replace dropbear with openssh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 12:13:47 +00:00
kaloz
4f9721dee7 update kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:34:03 +00:00
kaloz
03c684cec9 fixup some boardnames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:30:27 +00:00
kaloz
ac576eb648 remove unneeded patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:28:20 +00:00
acoul
3351cabc5c ixp4xx: backport r21893 wrt300nv2 mac fix to 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 19:24:00 +00:00
florian
af139e0177 [adm5120] add support for generic eb214a, thanks cezary (#7027)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 10:29:58 +00:00
florian
349bd35d6d [rdc] remove 2.6.30 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 10:29:51 +00:00
florian
741d3e3d16 [brcm63xx] fix alice gate2 internet:green led (#6743)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 10:29:44 +00:00
hauke
8a674c3d5e brcm47xx: activate swap again and run make oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 20:01:46 +00:00
florian
1818c218b9 [rdc] use bootloader baudrate settings, thanks bifferos (#7619)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 17:20:35 +00:00
florian
35b2614c4c [rdc] fix bifferboard flash map, thanks bifferos (#7622)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 17:20:29 +00:00
florian
b123f2edc5 [rdc] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 17:20:23 +00:00
florian
7ed52767e0 [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 17:20:16 +00:00
acoul
1d13ecc39a ixp4xx: update 2.6.35 config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 15:45:13 +00:00
hauke
e2e6a5bb07 kernel: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 14:10:39 +00:00
acoul
3b233bb8eb ixp4xx: use default lzma kernel compression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 13:26:21 +00:00
acoul
7a53271213 ixp4xx: sync 2.6.33 patches against 2.6.33.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 13:22:32 +00:00
acoul
d29bb5a68d ixp4xx: fix lzma/jffs2 config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 13:18:42 +00:00
hauke
c5e0e0ad5c kernel: fix kernel panic when traffic goes over the network.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 13:01:16 +00:00
hauke
124bd99740 kernel: the interface fsync changed a little
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 11:56:03 +00:00
acoul
997b9010f2 ixp4xx: update 2.6.35 patches to 2.6.35-rc5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-16 16:26:59 +00:00
acoul
5d1772a97b generic: update 2.6.35 patches to 2.6.35-rc5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-16 16:25:37 +00:00
hcg
48f8166fb6 Add a profile including Jamvm for Gumstix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-16 09:20:06 +00:00
juhosg
6236135893 ramips: enable ethernet driver for rt288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:49 +00:00
juhosg
7b74a280aa ramips: register ethernet device on the RT-N15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:46 +00:00
juhosg
4c2865eceb ramips: add generic ethernet device for the RT288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:43 +00:00
juhosg
12e2f4aadf ramips: add mdio_cfg configuration for the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:40 +00:00
juhosg
6002af8edd generic: rtl8366: add debugfs file to show PVIDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:56 +00:00
juhosg
12e4b34390 generic: rtl8366: make rtl8366_set_vlan static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:53 +00:00
juhosg
8007d48891 generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:50 +00:00
juhosg
dac77d22af generic: rtl8366: add common rtl8366_sw_get_vlan_info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:47 +00:00
juhosg
4bcb729a13 generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:43 +00:00
juhosg
fc85856afd generic: rtl8366: add is_vlan_valid function to smi_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:39 +00:00
juhosg
5476411f3d generic: rtl8366: add common rtl8366_sw_get_port_mib function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:36 +00:00
juhosg
a072aff468 generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:32 +00:00
juhosg
b956ede575 generic: rtl8366: make rtl8366_{g,s}et_pvid static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:29 +00:00
juhosg
6938bc08df generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:25 +00:00
juhosg
e920aacf90 generic: rtl8366: add setup to rtl8366_smi_ops struct
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:21 +00:00
juhosg
ec7835703b generic: rtl8366: introduce rtl8366_smi_alloc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:16 +00:00
juhosg
a8fb744861 generic: rtl8366: get rid of private rtl8366{s,rb} structs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:10 +00:00
juhosg
e2d43315df generic: rtl8366: move switch device to the rtl8366_smi struct
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:06 +00:00
juhosg
320e8ef881 generic: rtl8366: get rid of private vlan_{mc,4k} structs
The usage of bitfields causes problems in Little-Endian mode. Remove
them and manipulate the bits directly in the appropriate functions. This
change also reduces the size of the binary a bit.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:02 +00:00
juhosg
c26785337f generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:04:57 +00:00
juhosg
e528e02ba9 generic: move ath5k_platform.h from ar71xx to generic files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:58 +00:00
juhosg
e14f929ec7 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:52 +00:00
cshore
8ec9d56a59 [brcm47xx]: target (base-files): Fixed failsafe mode by adding back insmod diag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 02:46:03 +00:00
jow
fab9e74eaf [brcm63xx] add required exports for wl.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 17:03:56 +00:00
juhosg
fa4dd3d5de ramips: Fix bridging in ramips ethernet driver
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.

The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.

Fix this by using skb_put to correctly set skb->len and skb->tail.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:07 +00:00
juhosg
675367fe81 ramips: protect GPIO register access with a spinlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:04 +00:00
juhosg
76ca646102 ramips: sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:02 +00:00
jow
be1d1d9f02 [kernel] export SSB fallback SPROM - required for wl.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:20:29 +00:00
claudio
ae57d8838c massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
claudio
5c39ae21ff [kernel] pwm: use coherent naming to avoid conflicts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 13:19:57 +00:00
hauke
023534e4cf kernel: Add missing kernel config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 18:52:30 +00:00
hauke
a04d4f8ddb kernel: add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 18:50:55 +00:00
claudio
453df530fd [etrax] enable usb support by default.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 12:27:09 +00:00
claudio
b9ca13b775 [at91] add defautl config for eth0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 12:27:05 +00:00
claudio
f845016e5d [at91] fix typo in Makefile tgz -> targz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 09:53:00 +00:00
hauke
af2bb2e258 brcm47xx: use kernel 2.6.34.1 as default kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:40:45 +00:00
hauke
30feff8b48 kernel: update to kernel 2.6.34.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:39:52 +00:00
nbd
f231b38166 brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 12:17:41 +00:00
nbd
59da09e12d Get rid of the b44 'BUG! Timeout waiting for bit 80000000 of register 428 to clear.' spam.
more and more users are getting confused by this, and consider it a regression in brcm47xx,
because brcm-2.4 was not showing this message. It's not particularly interesting for debugging,
most of the time it only happens because of an unconnected port.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 00:48:37 +00:00
claudio
ea1ef33b00 [etrax] fix a bug inside usb driver, thanks to Jesper Nilsson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-09 10:58:44 +00:00
claudio
76926585cb [at91] add some missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-09 10:58:40 +00:00
hcg
8fe0e7321b gumstix: add luci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 12:46:36 +00:00
hcg
e22bf04e2c [omap35xx] Add kmod-usb-hid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-07 12:30:29 +00:00
hauke
e47303d394 kernel: add missing config option found by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 20:50:47 +00:00
nbd
9b8cc433f0 repair the damage that was done to the packet socket type filter patch when it was forward ported to 2.6.33
this should fix the mac80211 problems in 2.6.33 and later versions

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 18:53:55 +00:00
nbd
f3814337f1 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 12:40:07 +00:00
nbd
5e771537e9 add mini_fo fix to 2.6.30 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 15:35:34 +00:00
nbd
14cab98656 mini_fo: add error pointer checks after dentry lookups to fix various crash bugs (fixes #7277, #7207, #7259)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 15:28:41 +00:00
nbd
d856215f02 ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 02:15:08 +00:00
nbd
950d12ef69 ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down
fixes boot time crashes under load reported by matteo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 01:31:33 +00:00
juhosg
e11397b6d4 generic: rtl8366: enable VLAN ingress filtering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-02 09:55:57 +00:00
florian
e9d9a847eb [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:22 +00:00
florian
c7a09652b3 [au1000] add 2.6.34 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:16 +00:00
florian
cd6d6cbaf0 [au1000] fix line wrapped patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:05 +00:00
florian
382532ed9f [au1000] fix PCI, thanks br1, put back 2.6.32.14 support by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 19:07:27 +00:00
markus
4fd65eaf7b brcm47xx: added dual image support to flashmap driver
some CFE versions (i.e. WRT54G3Gv2-VF) expect two separate firmware
images which each consume half of the available flash space.
these changes check for the TRX header version and set the partition
size correctly.
Tested on G3Gv2-VF and Asus WL-500GP



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 16:26:24 +00:00
juhosg
17cb46ca8a ar71xx: fix leds-rb750 build failure on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:06 +00:00
markus
0cfd641531 renamed wrt54g3gv2-vf images
'factory' and 'sysupgrade' did not make much sense. A discussion
with jow convinced me that .trx results in a helpdesk disaster.
So I decided to use '.bin' for normal bin-headers and '.noheader.bin'
for the trx-v2 image.
I fixed the wiki accordingly.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 10:48:13 +00:00
florian
134e9e7bf3 [au1000] revert upstream commit that broke PCI until we have a better fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 08:30:16 +00:00
jow
5ec8fc4802 [brcm63xx] add a wifi profile for proprietary wl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 01:39:04 +00:00
jow
51c76d8aa5 [ar71xx] fix dir-825-b1 default network config after r21905
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 00:03:43 +00:00
acoul
b6ff7d438a fix commit r21994 (thanks juhosg)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:46:45 +00:00
acoul
47e09d34e4 fix commit r21993
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:35:12 +00:00
claudio
c70ebb4fa8 [kernel] Don't force pci support on .34 and .35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 17:23:19 +00:00
claudio
91107b9124 [at91] Add board definition previously forgotten
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 15:06:17 +00:00
juhosg
302f3c09e8 generic: rtl8366: minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:24:05 +00:00
juhosg
d357a4cc6a generic: rtl8366: add common read_debugfs_mibs function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:24:02 +00:00
juhosg
aaf0b375e0 generic: rtl8366: standardize read_debugfs_mibs functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:59 +00:00
juhosg
41d026022e generic: rtl8366: use common rtl8366_mib_counter structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:56 +00:00
juhosg
18ab2efaa8 generic: rtl8366: move common debugfs code to rtl8366_smi.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:52 +00:00
juhosg
d59f0a0930 generic: rtl8366: move buf to struct rtl8366_smi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:48 +00:00
juhosg
30a7cdf55e generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:45 +00:00
juhosg
7a3a11aca6 generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:41 +00:00
juhosg
a81c90dc76 generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:37 +00:00
juhosg
e05b25a242 generic: rtl8366: use RTL8366{S,RB} prefixes for all defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:33 +00:00
juhosg
dfa85e2fa8 generic: rtl8366rb: fix MIB counter reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-27 14:37:34 +00:00
florian
8cc6d2b625 [au1000] reinstate 2.6.30 support until 2.6.32 is fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 22:18:23 +00:00
nbd
c5552ad039 rename target/linux/generic-2.6 to generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:58 +00:00
nbd
eb81d2d162 remove generic linux 2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:18 +00:00
nbd
1fe4998cee remove the brcm-2.4 target, it will no longer be supported in future releases. please use brcm47xx with broadcom-wl instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:41:59 +00:00
nbd
08944ed54a add back the base-files/image code from brcm-2.4 to brcm47xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:41:49 +00:00
nbd
c791c2bc42 remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a proper type changing commit)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:41:40 +00:00
juhosg
dd5918a57f generic: rtl8366: rename vlan debugfs file to vlan_mc, and clean up it's format
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:48 +00:00
juhosg
a5193c8c3c generic: rtl8366: update vlan handling code for rtl8366s
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:45 +00:00
juhosg
605e142198 generic: rtl8366: update vlan handling code of rtl8366rb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:41 +00:00
juhosg
693c0bd595 generic: rtl8366: add hw_init to initialize registers after reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:38 +00:00
juhosg
0b58bc0576 generic: rtl8366: introduce rtl8366_smi_rmwr function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:34 +00:00
juhosg
f816719c99 generic: rtl8366s: get some MIB counters from another offset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:30 +00:00
juhosg
22a6beb304 generic: rtl8366: cleanup MIB counter printing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:27 +00:00
juhosg
d91142375a generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:24 +00:00
juhosg
22e4a8566f generic: rtl8366: add common vlan_4k structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:20 +00:00
juhosg
53bb5d147a generic: rtl8366: add common vlan_mc structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:16 +00:00
juhosg
70e2bfc79b generic: rtl8366: rename vlanmc and vlan4k related structures an functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:12 +00:00
juhosg
5e0f4e5bfc generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:06 +00:00
juhosg
5e66606678 generic: rtl8366: move mii bus handling to the rtl8366_smi code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:01 +00:00
juhosg
d2c03b9bff generic: rtl8366: introduce rtl8366_smi_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:57 +00:00
juhosg
36c0080775 generic: rtl8366: change format string for debugfs error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:52 +00:00
juhosg
062819b9cb generic: rtl8366: don't show link parameters if the link is down
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:48 +00:00
juhosg
d9272169b8 generic: rtl8366: fix register offset and size of MIB counters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:43 +00:00
juhosg
b710df9d9a generic: rtl8366: prevent modifications of VLAN 0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:38 +00:00
juhosg
326a9590d1 ar71xx: don't use vlan 0 for devices with rtl8366s switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:32 +00:00
hcg
d04b55e43c Add script support for Marvell 88W8686 mac80211.
This is a hack now, but it works. cfg80211 is very broken
in the current mainline Marvell driver. A new patch set to
address this is in linux-next, I just do not have time
today to address it.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 08:11:54 +00:00
hcg
b5b97a4d56 Use modules for wifi and usb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 08:08:05 +00:00
acoul
042aac4ae2 ixp4xx: remove 2.6.35 unedded patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 04:37:14 +00:00
acoul
fb2c10f9dc mpc83xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 15:07:36 +00:00
acoul
5803cbb537 ixp4xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:40:36 +00:00
acoul
12c3f05a67 ixp4xx: add Mikael Petterssons patch works
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:38:03 +00:00
acoul
75c6116c1e ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:36:41 +00:00
acoul
76f501d45f ixp4xx: add Titan Wireless TW-266-2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:34:49 +00:00
acoul
77615173de ixp4xx: add kernel 2.6.33 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:29:41 +00:00
acoul
103e2408d6 ixp4xx: revert kernel support for 2.6.33 & 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:25:07 +00:00
florian
c162408f58 [kernel] add missing CONFIG_PCMCIA_XIRCOM spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 12:17:46 +00:00
jow
86b9c1df64 [netfilter] package TPROXY target and module infrastructure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 22:39:22 +00:00
hauke
40c0f7f2fc orion: Missing symbols in 2.6.35-rc2 kernel config for Orion
Thank you Maddes for your patch

This closes #7441


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 21:05:29 +00:00
acoul
64b6ac3b3d ixp4xx: add Mikael Petterssons patch works for 2.6.33 & 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 14:10:55 +00:00
hcg
977f78fc3c [omap35xx] Add c++ std library to gumstix rte
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 07:07:24 +00:00
hcg
c452aed981 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-21 11:59:59 +00:00
claudio
0345992639 [kernel] another #ifdef around pci_set_mwi call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 14:04:45 +00:00
jow
ab22ad7e44 [brcm47xx] change a typo in ath5k profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:46:24 +00:00
jow
203384ef2c [brcm47xx] deselect wpad-mini in wl profile instead of adding it to all other profiles, slightly change titles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:44:19 +00:00
jow
a4219746fb [brcm47xx] add a profile using proprietary wl instead of b43
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:32:40 +00:00
claudio
d8e37c68cc [kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 12:41:22 +00:00
claudio
32adaf616a [at91] revamp target: add support for netusg20 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 22:12:33 +00:00
juhosg
8119ffe60a ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
acoul
45e68308a5 ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 11:14:20 +00:00
acoul
6d195f8820 ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 11:09:10 +00:00
jow
2691895741 [orion] fix sysupgrade for the Netgear WNR854T (#7484)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 07:57:45 +00:00
acoul
16fbdff13f ixp4xx: fir commit r21825
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 11:41:26 +00:00
juhosg
0802c1eb52 ar71xx: fix RB750 LED configuration
Patch-by: Ray Bellis


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 09:24:26 +00:00
acoul
abcf93347e ixp4xx: (Titan Wireless 2662) check for invalid/null MAC before assigning a random one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 08:17:17 +00:00
juhosg
78fe3d5e8c ar71xx: avoid duplicated 'board' parameter in kernel command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 20:02:44 +00:00
florian
c69b252f1c [kernel] reinstate netdev LED trigger dependency against CONFIG_NET
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 19:39:04 +00:00
claudio
f3b6a5b9b9 [kernel] Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 18:01:11 +00:00
nbd
9e5e503702 backport the ssb dma device change to 2.6.30 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 15:47:06 +00:00
acoul
d848344339 ixp4xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 14:59:37 +00:00
nbd
96465c018c rename broadcom-wl to broadcom-wl-old
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 11:00:30 +00:00
nbd
878b1f5b6a brcm47xx: add some exports to be used by the new wl driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 10:03:05 +00:00
jow
ca9480b150 [generic-2.6] add b43 dma_dev fix to 2.6.32 and 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 18:35:23 +00:00
claudio
4f0d403f05 [kernel] Extend the gpio device driver (#5671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 13:27:06 +00:00
florian
17984c3bab [brcm63xx] add missing alice gate2 leds (#6743)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:53 +00:00
florian
e4eedbb946 [kernel] refresh 2.6.33 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:48 +00:00
florian
62f026d7b7 [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:42 +00:00
juhosg
f03c775c62 swconfig: fix lock imbalance in unregister_switch()
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:37:35 +00:00
juhosg
b4566a37d1 swconfig: release switch in error path of swconfig_get_attr
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:37:32 +00:00
florian
f80794beb2 [orion] rename partition map patch to a better name, since it s wrt350nv2 specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:11 +00:00
florian
e481de8f57 [orion] remove now empty samsung flash related patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:06 +00:00
florian
3ed70144c0 [kernel] rename 014-samsung_flash -> 014-samsung_flash.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:01 +00:00
florian
cd5addd4e0 [kernel] fix samsung flash patch after r21408, thanks to Matthias Buecher (#7348)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:53:55 +00:00
florian
dc1a5ccf8e [package] add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:22 +00:00
florian
aa793fc939 [brcm63xx] do not override cfg80211-related config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:16 +00:00
florian
f6f5bd1866 [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:09 +00:00
juhosg
d4c3de0bb6 ar71xx: add default network config for the RB433UAH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:41 +00:00
juhosg
d1b5649e76 ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:39 +00:00
acoul
7fd0d84f87 generic-2.6/patches-2.6.35: fix ocf missing parts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-11 13:49:39 +00:00
acoul
4157f2b35d rb532: fix a module dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 12:33:43 +00:00
acoul
edce9a6007 rb532: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 12:32:27 +00:00
acoul
1b1cea5dac adm5120: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 11:21:10 +00:00
juhosg
12827f9964 generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
 * CONFIG_ATOMIC64_SELFTEST
 * CONFIG_BRIDGE_IGMP_SNOOPING
 * CONFIG_CAIF
 * CONFIG_CEPH_FS
 * CONFIG_CRYSTALHD
 * CONFIG_DEFAULT_SECURITY_SELINUX
 * CONFIG_DEFAULT_SECURITY_SMACK
 * CONFIG_DEFAULT_SECURITY_TOMOYO
 * CONFIG_DT3155
 * CONFIG_IP_MROUTE_MULTIPLE_TABLES
 * CONFIG_L2TP
 * CONFIG_LOGFS
 * CONFIG_LPC_SCH
 * CONFIG_MFD_JANZ_CMODIO
 * CONFIG_MFD_RDC321X
 * CONFIG_N_GSM
 * CONFIG_RAMOOPS
 * CONFIG_SERIAL_ALTERA_JTAGUART
 * CONFIG_SERIAL_ALTERA_UART
 * CONFIG_SERIAL_TIMBERDALE
 * CONFIG_SM_FTL
 * CONFIG_SQUASHFS_XATTRS


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:51 +00:00
juhosg
ce88f0a6d2 generic: don't override CONFIG_DEBUG_FS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:42 +00:00
juhosg
c9051b2469 generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:14 +00:00
juhosg
c833c06e55 generic: remove trailing whitespaces from kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:09 +00:00
juhosg
85f5665b15 generic: standardize CONFIG_INLINE_* symbols usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:41 +00:00
juhosg
7fdc127dda ar71xx: sync kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:36 +00:00
juhosg
5e5d01f210 ar71xx: remove more config overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 06:14:19 +00:00
juhosg
2a528006a3 ar71xx: fix phy_mask for the RB450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:35 +00:00
juhosg
a3860b3a61 ar71xx: don't override CONFIG_BRIDGE_* options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:32 +00:00
juhosg
e8c7c67e98 generic: update xt_layer7 module fix for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 17:56:42 +00:00
acoul
4593e3555f generic-2.6: layer7: convert xt_match_param to xt_action_param
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 17:29:25 +00:00
juhosg
7bc14b151f generic: more missing symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:43 +00:00
juhosg
bdddd58889 generic: add missing layer7 patches for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:39 +00:00
juhosg
2531769a1e ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:36 +00:00
juhosg
e3ad321217 ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:34 +00:00
acoul
7a2322730e generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:14:12 +00:00
acoul
a6f330452b ar71xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:45:47 +00:00
acoul
631e642ab6 generic-2.6: add (some) missing config symbols for kernel 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:43:59 +00:00
juhosg
b2e86cfb76 generic: rename ip175c driver to ip17xx on 2.6.35 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 07:52:48 +00:00
juhosg
f206537fa5 ar71xx: add default network configuration file for the RB450/RB433 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:23 +00:00
juhosg
ac31bf6447 ar71xx: enable the IP17xx driver for the nand subtarget
Also disable the old ICPlus driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:20 +00:00
juhosg
9f9bd4b6ee ar71xx: fix phy_mask on the RB433 for the IP17xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:18 +00:00
juhosg
3106e73c42 ip17xx: fix autonegotioation issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:14 +00:00
juhosg
4fd38b6534 generic: add aneg_done and update_link functions for the phy_device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:11 +00:00
juhosg
595d2512d1 ip17xx: Update the copyright message
Update the copyright message to reflect my changes.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:08 +00:00
juhosg
c3b78ad426 ip17xx: Rename the driver to ip17xx.c
Following the big internal rename, this is the external rename.
Rename the source file to ip17xx.c and adjust Makefile and Kconfig.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:05 +00:00
juhosg
3360def59f ip17xx: The big rename
Recognize that the driver supports many more devices than the ip175c.

The driver itself is now called ip17xx, all generic functions have been
renamed to ip17xx_*. The model-dependent functions have prefixes ip175c_
and ip175d_.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:58 +00:00
juhosg
08171f79fc ip17xx: Keep all state locally
Instead of reading the hardware state every time we want to inspect it or
to modify it, maintain it in struct ip175c_state.

This simplifies the code significantly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:55 +00:00
juhosg
b105730015 ip17xx: Add support for IP175D
Add support for the IP175D chip. Since the register set is vastly different
from the previous models, we cannot not use the register number tables in struct
register_mappings (except for VLAN_DEFAULT_TAG_REG), so we supply a different
set of low-level functions.

Unlike with the previous models, we keep the VLAN setup in our state structure
instead of querying the hardware (it would be much harder in case of IP175D,
because the mapping between hardware and software state is not 1:1). Therefore,
get_flags() and get_state() are no-ops.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:51 +00:00
juhosg
714e378fed ip17xx: Avoid auto-negotiation
Let ip175c_config_init() initialize the link state of the PHY and set the
PHY state machine directly to the PHY_RUNNING state in order to skip the
auto-negotiation phase.

Previously, auto-negotiation on PHY 0 (switch port 0) influenced the ethernet
driver connected to the CPU port, causing all sorts of weird effects.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:47 +00:00
juhosg
b2b1cad62e ip17xx: New chip detection
Clean up get_model() and make it recognize IP175D using yet another
chip ID register. Log the detected model.

Also fix a bug in the interface between the PHY layer and our probe function,
which caused IP175A devices to be ignored.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:42 +00:00
juhosg
27c4924de8 ip17xx: Add VLAN tag field
Since IP175D uses tag-based VLANs, we need an ability to set VLAN tag
of every VLAN.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:38 +00:00
juhosg
d46e7c8da5 ip17xx: Maintain state->remove_tag incrementally
So far, state->remove_tag was sometimes updated incrementally, sometimes
left to correct_vlan_state() to recalculate. Since I want to avoid use of
correct_vlan_state() for IP175D, this patch fixes the only two remaining
places which leave state->remove_tag inconsistent with state->add_tag
and it drops the recalculation.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:34 +00:00
juhosg
29b4b3c009 ip17xx: Initialize VLAN state upon reset
Let VLAN state variables be initialized not only when the enable VLAN bit
is toggled, but also upon reset.

At this point, this should be a no-op, since the driver reads the current
hardware state before doing any modifications anyway, but I plan to keep
some state locally in the subsequent patches.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:30 +00:00
juhosg
f59df48228 ip17xx: Introduce vlan array
Replace vlan_ports array in struct ip175c_state by an array of structures.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:25 +00:00
juhosg
398de7c230 ip17xx: Introduce indirection of low-level operations
This patch introduces seperation between low-level and high-level parts
of the driver. The low-level functions are now called via pointers stored
in struct ip175c_regs.

The only functional changes are:

  o  correct_vlan_state() is now called as a part of every update_state().

  o  The order of setting of MODE_REG and resetting switch ports
     has changed. (These are independent actions, so it should not matter.)

  o  ip175c_set_tagged() sets the tags via update_state() instead of writing
     directly to the registers.

  o  The same for ip175c_set_pvid().

The only gaps in this abstraction are operations on ports (get_port_speed
and friends), which access PHY registers directly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:20 +00:00
juhosg
0b041db319 ip17xx: Fix use of MODE_VAL
The value written to MODE_REG in ip175c_reset() should be obviously MODE_VAL,
not RESET_VAL. Actually, this change is a NOP, because in the only case where
the MODE_REG is used, the two values are identical, but it makes the code
more readable.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:15 +00:00
juhosg
148966bc19 ip17xx: Fix indentation in get_state() and update_state()
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:10 +00:00
juhosg
9e494614a1 ip17xx: Fixed error handling in ip175c_set_val()
Upon error, ip175c_set_val() returned 0 instead of -EINVAL.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:05 +00:00
juhosg
6c0e4e5864 ip17xx: Cosmetic cleanups
Trying to unify capitalization and formatting of comments. Writing of periods
at the end of comments is however still inconsistent.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:00 +00:00
juhosg
2624270e11 ip17xx: Consolidate operations with PHY registers
Call mdiobus_{read,write} instead of duplicating their code.

Introduce ip_phy_write_masked(), which changes a part of a register. Will
be used later in this patch series. Please note that it does not hold any
lock between reading and writing, so it is up to the caller to serialize.

Also add DUMP_MII_IO, which enables logging of all MII accesses.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:17:55 +00:00
juhosg
2edc592f33 swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED
SWITCH_PORT_FLAG_TAGGED is a bit index, not a bit mask.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:17:03 +00:00
acoul
47b045d133 brcm47xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:58:06 +00:00
acoul
244f3497a8 generic-2.6: fix mini_fo 2.6.35 kernel issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:44:42 +00:00
acoul
0805dd9268 fix a typo on commit r21704
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:19:34 +00:00
acoul
cac0371c96 generic-2.6: generic: add missing config symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:13:37 +00:00
acoul
92eda5acee atheros: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 15:01:35 +00:00
juhosg
2bc4946ac7 generic: add missing config symbol for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:18 +00:00
juhosg
c2a2341e50 ar71xx: fix 2.6.34 build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:13 +00:00
juhosg
cd42787458 ar71xx: add missing 2.6.34 config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:17:34 +00:00
acoul
072012a0cb generic-2.6: add kernel 2.6.35 preliminary support (patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 05:56:49 +00:00
acoul
5a755c376b refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 21:16:31 +00:00
florian
cabd00840e [ar7] generate NA and non-NA images for Titan platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:17:01 +00:00
florian
816ab94c62 [ar7] add Titan MTD partitionning support (#6632)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:55 +00:00
florian
4b648be10a [ar7] titan board also have CYWL as a product id
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:49 +00:00
florian
5de20bc7df [kernel] do not override kmod-usb-storage-extras Kconfig symbols (#7285)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:02:30 +00:00
juhosg
9dd80fbdfc ar71xx: build firmware images if Minimal profile is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:39 +00:00
juhosg
474a2a5101 ar71xx: rename Minimal profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:34 +00:00
hauke
6dc6d56e65 orion: Update Orion in trunk to kernel 2.6.34.
Was flashed on WRT350Nv2, booted and is running for several days.
Closes #7405

Thank you maddes for your patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 10:51:52 +00:00
juhosg
6d3056927c generic: update mips multimachine patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 18:26:45 +00:00
juhosg
7bd72d46a1 adm5120: convert to use the new mips multimachine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 18:26:40 +00:00
nbd
b6f48ae879 ar71xx: clarify the nand subtarget a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 11:55:49 +00:00
juhosg
0119024a6b generic: merge mips multi machine update to generic patches for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:52 +00:00
juhosg
dd08767acf generic: merge mips multi machine update to generic patches for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:49 +00:00
juhosg
22b785a14d generic: merge mips multi machine update to generic patches for 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:46 +00:00
juhosg
3fa8734ca6 adm5120: don't use linux/autoconf.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:43 +00:00
juhosg
3e29a45a94 adm5120: fix build error on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:39 +00:00
claudio
766286fdcb [etrax] Force usb features, fix depends
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-03 09:52:34 +00:00
nbd
f4d820426c orion: fix lan and wan mac address for wrt530n v2 (patch by maddes from #7113)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 14:41:37 +00:00