xref: /openbmc/linux/drivers/net/phy/mdio-boardinfo.h (revision 981ab3f1)
1 /*
2  * mdio-boardinfo.h - board info interface internal to the mdio_bus
3  * component
4  */
5 
6 #ifndef __MDIO_BOARD_INFO_H
7 #define __MDIO_BOARD_INFO_H
8 
9 #include <linux/phy.h>
10 #include <linux/mutex.h>
11 
12 struct mdio_board_entry {
13 	struct list_head	list;
14 	struct mdio_board_info	board_info;
15 };
16 
17 void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,
18 					   int (*cb)
19 					   (struct mii_bus *bus,
20 					    struct mdio_board_info *bi));
21 
22 #endif /* __MDIO_BOARD_INFO_H */
23