1PHY_ATTACH(9) Network device support PHY_ATTACH(9)
2
3
4
6 phy_attach - attach a network device to a particular PHY device
7
9 struct phy_device * phy_attach(struct net_device * dev,
10 const char * bus_id,
11 phy_interface_t interface);
12
14 dev
15 network device to attach
16
17 bus_id
18 Bus ID of PHY device to attach
19
20 interface
21 PHY device's interface
22
24 Same as phy_attach_direct except that a PHY bus_id string is passed
25 instead of a pointer to a struct phy_device.
26
28Kernel Hackers Manual 3.10 June 2019 PHY_ATTACH(9)