From 6acfae9379d2c31cf1252a10013f5d832aa54fef Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 19 Dec 2010 11:56:42 +0000 Subject: [PATCH] ar71xx: enable ar7240 switch support on the UBNT NanoStation M Fixes broadcast frames on the second ethernet MAC Signed-off-by: Alexander Couzens SVN-Revision: 24723 --- 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 38095b2ea9..c1a34cd5a1 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c @@ -282,6 +282,7 @@ static void __init ubnt_nano_m_setup(void) { ubnt_m_setup(); + ar71xx_eth1_data.has_ar7240_switch = 1; ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; ar71xx_eth1_data.speed = SPEED_1000; ar71xx_eth1_data.duplex = DUPLEX_FULL; -- 2.30.2