Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
12struct mdio_board_entry {
13 struct list_head list;
14 struct mdio_board_info board_info;
15};
16
17void 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 */