SysTutorials

Linux Manual Pages › Section 9

phy_detach(9)

phy_detach – detach a PHY device from its network device

Synopsis

void phy_detach(struct phy_device *phydev);

Arguments

phydev

target phy_device struct

Description

This detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct.

Copyright