phy_register_fixup — creates a new phy_fixup and adds it to the list
int phy_register_fixup ( | const char * bus_id, |
| u32 phy_uid, | |
| u32 phy_uid_mask, | |
int (*run)
(struct phy_device *)); |
bus_idA string which matches phydev->dev.bus_id (or PHY_ANY_ID)
phy_uidUsed to match against phydev->phy_id (the UID of the PHY) It can also be PHY_ANY_UID
phy_uid_maskApplied to phydev->phy_id and fixup->phy_uid before comparison
runThe actual code to be run when a matching PHY is found