Rechercher une page de manuel
phy_attach
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
phy_attach - attach a network device to a particular PHY deviceSYNOPSIS
- struct phy_device * phy_attach(struct net_device * dev, const char * bus_id, u32 flags, phy_interface_t interface);
ARGUMENTS
dev
- network device to attach
bus_id
- PHY device to attach
flags
- PHY device's dev_flags
interface
- PHY device's interface
DESCRIPTION
Called by drivers to attach to a particular PHY device. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then the genphy_driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre