Name
phy_connect_direct —
connect an ethernet device to a specific phy_device
Synopsis
int phy_connect_direct ( | struct net_device * dev, |
| | struct phy_device * phydev, |
| | void (*handler)
(struct net_device *), |
| | phy_interface_t interface); |
Arguments
struct net_device * dev
the network device to connect
struct phy_device * phydev
the pointer to the phy device
void (*)(struct net_device *) handler
callback function for state change notifications
phy_interface_t interface
PHY device's interface