phylib: Add support for board-level PHY fixups
Sometimes the specific interaction between the platform and the PHY requires special handling. For instance, to change where the PHY's clock input is, or to add a delay to account for latency issues in the data path. We add a mechanism for registering a callback with the PHY Lib to be called on matching PHYs when they are brought up, or reset. Signed-off-by:Andy Fleming <afleming@freescale.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
Showing
- Documentation/networking/phy.txt 37 additions, 1 deletionDocumentation/networking/phy.txt
- drivers/net/phy/mdio_bus.c 3 additions, 0 deletionsdrivers/net/phy/mdio_bus.c
- drivers/net/phy/phy.c 3 additions, 1 deletiondrivers/net/phy/phy.c
- drivers/net/phy/phy_device.c 117 additions, 12 deletionsdrivers/net/phy/phy_device.c
- include/linux/phy.h 22 additions, 2 deletionsinclude/linux/phy.h
Loading
Please register or sign in to comment