From 193877307a07bff9175d8657fba9f4936b57e536 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 8 Nov 2011 11:44:30 +0000 Subject: [PATCH] ar71xx: enable the ar7240 switch driver on the ubnt nanostation m (fixes #10373) SVN-Revision: 28855 --- target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2