PHY_ATTACH(9) Network device support PHY_ATTACH(9)NAMEphy_attach - attach a network device to a particular PHY device
SYNOPSIS
struct phy_device * phy_attach(struct net_device * dev,
const char * bus_id, u32 flags,
phy_interface_t interface);
ARGUMENTS
dev
network device to attach
bus_id
Bus ID of PHY device to attach
flags
PHY deviceĀ“s dev_flags
interface
PHY deviceĀ“s 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.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 PHY_ATTACH(9)