mdio-boardinfo.h 470 B

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