1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 20:53:22 +02:00

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
This commit is contained in:
nbd 2010-12-19 11:56:42 +00:00
parent 04ef4865b8
commit ee10caa56c

View File

@ -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;