projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: enable ar7240 switch support on the UBNT NanoStation M Fixes broadcast frames...
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ar71xx
/
mach-ubnt.c
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 38095b2ea900dce5e639c39989d54dfa25761ff1..c1a34cd5a1076e02a6c83d6264f73debac34aaba 100644
(file)
--- 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;