1PHY_CONNECT(9)              Network device support              PHY_CONNECT(9)
2
3
4

NAME

6       phy_connect - connect an ethernet device to a PHY device
7

SYNOPSIS

9       struct phy_device * phy_connect(struct net_device * dev,
10                                       const char * bus_id,
11                                       void (*handler) (struct net_device *),
12                                       u32 flags, phy_interface_t interface);
13

ARGUMENTS

15       dev
16           the network device to connect
17
18       bus_id
19           the id string of the PHY device to connect
20
21       handler
22           callback function for state change notifications
23
24       flags
25           PHY device´s dev_flags
26
27       interface
28           PHY device´s interface
29

DESCRIPTION

31       Convenience function for connecting ethernet devices to PHY devices.
32       The default behavior is for the PHY infrastructure to handle
33       everything, and only notify the connected driver when the link status
34       changes. If you don´t want, or can´t use the provided functionality,
35       you may choose to call only the subset of functions which provide the
36       desired functionality.
37
39Kernel Hackers Manual 2.6.         June 2019                    PHY_CONNECT(9)
Impressum