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
u8 is_ar934x:1;
unsigned long mdio_clock;
unsigned long ref_clock;
+
+ void (*reset)(struct mii_bus *bus);
};
#endif /* __ASM_MACH_ATH79_PLATFORM_H */
ag71xx_mdio_wr(am, AG71XX_REG_MII_CFG, t);
udelay(100);
+ if (am->pdata->reset)
+ am->pdata->reset(bus);
+
return 0;
}