From 8b712436f37cea6b25e5a717042ab10b85fab3be Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 17 Dec 2013 22:14:10 +0000 Subject: ar71xx: implement callback in mdio reset This enables us to add fixups to the board specific code for boards that require special treatment of PHYs on mdio bus reset. Signed-off-by: Felix Kaechele http://patchwork.openwrt.org/patch/4614/ Signed-off-by: Gabor Juhos SVN-Revision: 39127 --- .../ar71xx/files/arch/mips/include/asm/mach-ath79/ag71xx_platform.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/ar71xx/files/arch/mips') diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/ag71xx_platform.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/ag71xx_platform.h index 656a6ef..68aea20 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/ag71xx_platform.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/ag71xx_platform.h @@ -55,6 +55,8 @@ struct ag71xx_mdio_platform_data { u8 is_ar934x:1; unsigned long mdio_clock; unsigned long ref_clock; + + void (*reset)(struct mii_bus *bus); }; #endif /* __ASM_MACH_ATH79_PLATFORM_H */ -- cgit v1.1