summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/mii.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ipxe/mii.h b/src/include/ipxe/mii.h
index aaeae3db..89fc92a4 100644
--- a/src/include/ipxe/mii.h
+++ b/src/include/ipxe/mii.h
@@ -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 */