1GET_PHY_DEVICE(9)           Network device support           GET_PHY_DEVICE(9)
2
3
4

NAME

6       get_phy_device - reads the specified PHY device and returns its
7       phy_device struct
8

SYNOPSIS

10       struct phy_device * get_phy_device(struct mii_bus * bus, int addr);
11

ARGUMENTS

13       bus
14           the target MII bus
15
16       addr
17           PHY address on the MII bus
18

DESCRIPTION

20       Reads the ID registers of the PHY at addr on the bus, then allocates
21       and returns the phy_device to represent it.
22
24Kernel Hackers Manual 2.6.         June 2019                 GET_PHY_DEVICE(9)
Impressum