Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PHY Interface Reference

Detailed Description

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.

phy_attach_direct - attach a network device to a given PHY device pointer : network device to attach : Pointer to phy_device to attach : PHY device's dev_flags interface

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.

phy_attach - attach a network device to a particular PHY device : network device to attach : Bus ID of PHY device to attach : PHY device's dev_flags interface

Description: Same as phy_attach_direct() except that a PHY bus_id string is passed instead of a pointer to a struct phy_device.


The documentation for this interface was generated from the following file: