phy_register_fixup (9) - Linux Manuals
phy_register_fixup: creates a new phy_fixup and adds it to the list
NAME
phy_register_fixup - creates a new phy_fixup and adds it to the list
SYNOPSIS
-
int phy_register_fixup(const char
* bus_id, u32phy_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