From ba3ed629eacc3acc351617c383f2f131ddf6a9b0 Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 2 May 2016 18:50:00 +0000 Subject: [PATCH] ar71xx: Fix eth0 support for Ubiquiti UniFi AP AC Fix eth0 support for the Ubiquiti UniFi AP AC Signed-off-by: Paul Wassi SVN-Revision: 49277 --- target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c index 3617ca7d5f..072cf12a31 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c @@ -84,6 +84,7 @@ static void __init ubnt_unifiac_setup(void) eeprom + UNIFIAC_MAC0_OFFSET, 0); ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_SGMII; + ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev; ath79_eth0_data.phy_mask = BIT(4); ath79_eth0_pll_data.pll_10 = 0x00001313; -- 2.30.2