1PHY_REGISTER_FIXUP(9) Network device support PHY_REGISTER_FIXUP(9)
2
3
4
6 phy_register_fixup - creates a new phy_fixup and adds it to the list
7
9 int phy_register_fixup(const char * bus_id, u32 phy_uid,
10 u32 phy_uid_mask,
11 int (*run) (struct phy_device *));
12
14 bus_id
15 A string which matches phydev->dev.bus_id (or PHY_ANY_ID)
16
17 phy_uid
18 Used to match against phydev->phy_id (the UID of the PHY) It can
19 also be PHY_ANY_UID
20
21 phy_uid_mask
22 Applied to phydev->phy_id and fixup->phy_uid before comparison
23
24 run
25 The actual code to be run when a matching PHY is found
26
28Kernel Hackers Manual 3.10 June 2019 PHY_REGISTER_FIXUP(9)