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, u32 flags,
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 flags
21 PHY deviceĀ“s dev_flags
22
23 interface
24 PHY deviceĀ“s interface
25
27 Same as phy_attach_direct except that a PHY bus_id string is passed
28 instead of a pointer to a struct phy_device.
29
31Kernel Hackers Manual 2.6. June 2019 PHY_ATTACH(9)