1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ar71xx: add a new driver for the ar7240 switch using swconfig.

hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway
switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested
fixes #7563

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22675 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2010-08-16 19:21:57 +00:00
parent 475f0ce58b
commit 5cc1f4bcf3
7 changed files with 902 additions and 8 deletions

View File

@@ -31,6 +31,7 @@ struct ag71xx_platform_data {
u8 is_ar91xx:1;
u8 is_ar724x:1;
u8 has_ar8216:1;
u8 has_ar7240_switch:1;
void (* ddr_flush)(void);
void (* set_pll)(int speed);