Query: get_phy_device
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GET_PHY_DEVICE(9) Network device support GET_PHY_DEVICE(9)NAMEget_phy_device - reads the specified PHY device and returns its phy_device structSYNOPSISstruct phy_device * get_phy_device(struct mii_bus * bus, int addr);ARGUMENTSbus the target MII bus addr PHY address on the MII busDESCRIPTIONReads the ID registers of the PHY at addr on the bus, then allocates and returns the phy_device to represent it.COPYRIGHTKernel Hackers Manual 2.6. July 2010 GET_PHY_DEVICE(9)