mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 12:30:20 +03:00
[mii] Add mii_find()
Add the function mii_find() in order to locate the PHY address. Signed-off-by: Sylvie Barlow <sylvie.c.barlow@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
6047b7ca7a
commit
7ed1dc98c3
@@ -141,9 +141,13 @@ mii_dump ( struct mii_device *mii ) {
|
||||
/** Maximum time to wait for a reset, in milliseconds */
|
||||
#define MII_RESET_MAX_WAIT_MS 500
|
||||
|
||||
/** Maximum PHY address */
|
||||
#define MII_MAX_PHY_ADDRESS 31
|
||||
|
||||
extern int mii_restart ( struct mii_device *mii );
|
||||
extern int mii_reset ( struct mii_device *mii );
|
||||
extern int mii_check_link ( struct mii_device *mii,
|
||||
struct net_device *netdev );
|
||||
extern int mii_find ( struct mii_device *mii );
|
||||
|
||||
#endif /* _IPXE_MII_H */
|
||||
|
||||
Reference in New Issue
Block a user