diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-12-17 22:14:10 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-12-17 22:14:10 +0000 |
commit | 8b712436f37cea6b25e5a717042ab10b85fab3be (patch) | |
tree | 087abb54899f0b3ba948701f2d3d53fdde21c47d /target/linux/ar71xx/files/arch/mips/include/asm | |
parent | ba860e4c3a58963866c281c490f3e9785f269ad6 (diff) | |
download | mtk-20170518-8b712436f37cea6b25e5a717042ab10b85fab3be.zip mtk-20170518-8b712436f37cea6b25e5a717042ab10b85fab3be.tar.gz mtk-20170518-8b712436f37cea6b25e5a717042ab10b85fab3be.tar.bz2 |
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 <heffer@fedoraproject.org>
http://patchwork.openwrt.org/patch/4614/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39127
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include/asm')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/ag71xx_platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |