Query: phy_attach_direct
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PHY_ATTACH_DIRECT(9) Network device support PHY_ATTACH_DIRECT(9)NAMEphy_attach_direct - attach a network device to a given PHY device pointerSYNOPSISint phy_attach_direct(struct net_device * dev, struct phy_device * phydev, u32 flags, phy_interface_t interface);ARGUMENTSdev network device to attach phydev Pointer to phy_device to attach flags PHY device's dev_flags interface PHY device's interfaceDESCRIPTIONCalled 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PHY_ATTACH_DIRECT(9)