From: Felix Fietkau Date: Tue, 8 Nov 2011 11:44:30 +0000 (+0000) Subject: ar71xx: enable the ar7240 switch driver on the ubnt nanostation m (fixes #10373) X-Git-Tag: backfire_10.03.1~77 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=193877307a07bff9175d8657fba9f4936b57e536;p=openwrt%2Fsvn-archive%2Fopenwrt.git ar71xx: enable the ar7240 switch driver on the ubnt nanostation m (fixes #10373) SVN-Revision: 28855 --- diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c index 04a08dcf3e..c0cfde0d69 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c @@ -273,6 +273,7 @@ static void __init ubnt_nano_m_setup(void) ar71xx_eth1_data.fifo_cfg1 = 0x0010ffff; ar71xx_eth1_data.fifo_cfg2 = 0x015500aa; ar71xx_eth1_data.fifo_cfg3 = 0x01f00140; + ar71xx_eth1_data.has_ar7240_switch = 1; ar71xx_add_device_eth(1); }