1PHY_CONNECT_DIRECT(9) Network device support PHY_CONNECT_DIRECT(9)
2
3
4
6 phy_connect_direct - connect an ethernet device to a specific
7 phy_device
8
10 int phy_connect_direct(struct net_device * dev,
11 struct phy_device * phydev,
12 void (*handler) (struct net_device *),
13 phy_interface_t interface);
14
16 dev
17 the network device to connect
18
19 phydev
20 the pointer to the phy device
21
22 handler
23 callback function for state change notifications
24
25 interface
26 PHY device's interface
27
29Kernel Hackers Manual 3.10 June 2019 PHY_CONNECT_DIRECT(9)