Commit Graph

6778 Commits (8fce7537f911c3d807d56bf971f306373dbcd88e)

Author SHA1 Message Date
Hamish Guthrie 81c26adf95 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
Hamish Guthrie eef2acd974 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
Felix Fietkau 3d5783d3c4 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 Mehrtens 40174d507d 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
Jo-Philipp Wich 5859b9fa5c 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
Daniel Dickinson dfda352bca [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
Daniel Dickinson 8b6a51edad [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
Daniel Dickinson ba4b087197 [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-Peter Clausen 1864cba39b [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
Alexandros C. Couloumbis 54913f956b 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 Fainelli b7c15bac8b [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 Fainelli 03699ac875 [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 Fainelli 8eb26298e5 [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 Mehrtens 9f9c679032 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 Mehrtens 87eeb0b179 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
Alexandros C. Couloumbis 9e74ac8a70 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
Jo-Philipp Wich 3770fdacf4 [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 Mehrtens 43aabdf185 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
Alexandros C. Couloumbis e71a04cac1 [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
Alexandros C. Couloumbis 6fa5b6c555 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
Alexandros C. Couloumbis 1197bf389b [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
Alexandros C. Couloumbis 4fb664dbd3 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
Alexandros C. Couloumbis ffb38fc15f 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
Jo-Philipp Wich 503d7a462b [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
Felix Fietkau 9c66f092fd 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 Wigge 520b6d0ce0 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
Jo-Philipp Wich 514d70b175 [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 Mehrtens 66c0bfc0f2 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 Mehrtens 09b2a7e5da 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
Jo-Philipp Wich 80edf72017 [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 Mehrtens 1e15a46d4e 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
Alexandros C. Couloumbis 23d200d6f2 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
Alexandros C. Couloumbis b8b1efac61 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
Jo-Philipp Wich fc7a57fa5d [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
Felix Fietkau 1e8591f79b 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
Jo-Philipp Wich d2eb5f9c0f [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
Felix Fietkau 40134c73fc 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 Mignanti 4ccd3d000f [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 Mignanti 2eb7eb9b04 [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
Felix Fietkau f3ff256eda 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
Felix Fietkau 7760034463 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
Imre Kaloz 766cb6b709 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 Mehrtens 9b5ae82f49 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
Felix Fietkau 9c68769400 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
Felix Fietkau 7a9d13a750 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 Mehrtens d51f2bc4b0 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 Mignanti 861c6988fb [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 Mehrtens df0e3483ac 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 Mehrtens 2610484840 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
Imre Kaloz c2dfed1638 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
Hamish Guthrie eecb8493c7 [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
Hamish Guthrie 5281f4b5aa [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
Imre Kaloz 0b47979d12 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
Imre Kaloz b388a01807 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
Imre Kaloz 7b4888df88 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
Alexandros C. Couloumbis d8da685340 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 Fainelli 734780f950 [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 Fainelli 551efde56a [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 Fainelli c8c989694d [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 Mehrtens 20a234a7d7 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 Fainelli a6548c1c69 [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 Fainelli ead48531ae [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 Fainelli c166479c32 [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 Fainelli f973535e4d [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
Alexandros C. Couloumbis 2dd87622e7 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 Mehrtens 5272f096fb 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
Alexandros C. Couloumbis 6a396dd53d 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
Alexandros C. Couloumbis 30eb7c334e 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
Alexandros C. Couloumbis 149650bd4e 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 Mehrtens ba4d89318b 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 Mehrtens f7b71e99a6 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
Alexandros C. Couloumbis 988f7b8657 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
Alexandros C. Couloumbis 773f63f9e5 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
Hamish Guthrie 2c4ec812d7 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
Gabor Juhos 956de1c120 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
Gabor Juhos 62d8c17df5 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
Gabor Juhos 5c7c1c3dba 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
Gabor Juhos 69e79c381f 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
Gabor Juhos dc6dcc66a4 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
Gabor Juhos 60553e9fb4 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
Gabor Juhos 2693b15c0e 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
Gabor Juhos 7b6b73dc84 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
Gabor Juhos 80fd673252 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
Gabor Juhos d2d1fc5eb6 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
Gabor Juhos cf551c6259 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
Gabor Juhos bd79e0b9fc 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
Gabor Juhos 941938939e 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
Gabor Juhos 66dcd51b3e 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
Gabor Juhos 23ba874c9c 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
Gabor Juhos 6ccacc5e4f 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
Gabor Juhos 430322ad55 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
Gabor Juhos 107c356916 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
Gabor Juhos 1f37fff7de 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
Gabor Juhos e215d60a70 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
Gabor Juhos e0afcb82f9 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
Gabor Juhos 20a0bba898 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
Daniel Dickinson de82c5a782 [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
Jo-Philipp Wich 1cff76c4b1 [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
Gabor Juhos 5cce2b0a05 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
Gabor Juhos 33eba7e060 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