diff options
| author | Kim Phillips <[email protected]> | 2013-02-15 17:46:50 -0600 |
|---|---|---|
| committer | Kim Phillips <[email protected]> | 2013-02-15 17:46:50 -0600 |
| commit | 9a82b10c6657c5744802971036bb564ebc660291 (patch) | |
| tree | b276e71216b06494aa78d45d740b66e31c566233 /include/netdev.h | |
| parent | 9a32084ea0cf55d22384f083002ee9932e074f31 (diff) | |
| parent | 9f024f62e4604274a23213dcee30016092e32e7b (diff) | |
Merge branch 'master' of git://git.denx.de/u-boot
Diffstat (limited to 'include/netdev.h')
| -rw-r--r-- | include/netdev.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h index 7f158d433ba..fd3e243c713 100644 --- a/include/netdev.h +++ b/include/netdev.h @@ -215,9 +215,16 @@ struct mv88e61xx_config { int mv88e61xx_switch_initialize(struct mv88e61xx_config *swconfig); #endif /* CONFIG_MV88E61XX_SWITCH */ +struct mii_dev *fec_get_miibus(uint32_t base_addr, int dev_id); +#ifdef CONFIG_PHYLIB +struct phy_device; +int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, + struct mii_dev *bus, struct phy_device *phydev); +#else /* * Allow FEC to fine-tune MII configuration on boards which require this. */ int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int)); +#endif #endif /* _NETDEV_H_ */ |
