phy_connect_direct - connect an ethernet device to a specific phy_device : the network device to connect : the pointer to the phy device : callback function for state change notifications : PHY device's dev_flags interface
phy_connect - connect an ethernet device to a PHY device : the network device to connect : the id string of the PHY device to connect : callback function for state change notifications : PHY device's dev_flags interface
Description: Convenience function for connecting ethernet devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.
Description: Called by drivers to attach to a particular PHY device. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then the genphy_driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver.