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 u32 flags, 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 flags
26 PHY device's dev_flags
27
28 interface
29 PHY device's interface
30
32Kernel Hackers Manual 2.6. November 2011 PHY_CONNECT_DIRECT(9)