};
struct ag71xx_mdio {
- struct mii_bus *mii_bus;
- int mii_irq[PHY_MAX_ADDR];
- void __iomem *mdio_base;
+ struct mii_bus *mii_bus;
+ int mii_irq[PHY_MAX_ADDR];
+ void __iomem *mdio_base;
+ struct ag71xx_mdio_platform_data *pdata;
};
struct ag71xx {
extern struct ethtool_ops ag71xx_ethtool_ops;
-extern struct ag71xx_mdio *ag71xx_mdio_bus;
int ag71xx_mdio_driver_init(void) __init;
void ag71xx_mdio_driver_exit(void);