ar71xx: enable the ar7240 switch driver on the ubnt nanostation m (fixes #10373)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 8 Nov 2011 11:44:30 +0000 (11:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 8 Nov 2011 11:44:30 +0000 (11:44 +0000)
SVN-Revision: 28855

target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c

index 04a08dcf3e6c9b1a2003d6f0710eb05d0cb344c6..c0cfde0d6947c06919d0c915bd5cba6df184ecc2 100644 (file)
@@ -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);
 }