---
name: "phy_register_fixup"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/phy_register_fixup"
---

# phy\_register\_fixup(9)

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***, 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
