diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-19 11:56:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-19 11:56:42 +0000 |
commit | 474f13fbc8581c4c171f5519fa0d18a7e9a0a98d (patch) | |
tree | 5b2cc4cf21eae84e68700e12c5f544f3ef86b521 /target/linux/ar71xx/files | |
parent | cc2240d92fe1357cea083c16037c4baf2b657a77 (diff) | |
download | upstream-474f13fbc8581c4c171f5519fa0d18a7e9a0a98d.tar.gz upstream-474f13fbc8581c4c171f5519fa0d18a7e9a0a98d.tar.bz2 upstream-474f13fbc8581c4c171f5519fa0d18a7e9a0a98d.zip |
ar71xx: enable ar7240 switch support on the UBNT NanoStation M
Fixes broadcast frames on the second ethernet MAC
Signed-off-by: Alexander Couzens <lynxis@c-base.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24723 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |