phy_register_fixup(9) - phpMan
PHY_REGISTER_FIXUP(9) Network device support PHY_REGISTER_FIXUP(9)
NAME
phy_register_fixup - creates a new phy_fixup and adds it to the list
SYNOPSIS
int phy_register_fixup(const char * bus_id, u32 phy_uid, u32 phy_uid_mask,
int (*run) (struct phy_device *));
ARGUMENTS
bus_id
A string which matches phydev->mdio.dev.bus_id (or PHY_ANY_ID)
phy_uid
Used to match against phydev->phy_id (the UID of the PHY) It can also be PHY_ANY_UID
phy_uid_mask
Applied to phydev->phy_id and fixup->phy_uid before comparison
run
The actual code to be run when a matching PHY is found
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 PHY_REGISTER_FIXUP(9)
|