]> err.no Git - linux-2.6/commit
phylib: Add support for board-level PHY fixups
authorAndy Fleming <afleming@freescale.com>
Fri, 18 Apr 2008 22:29:54 +0000 (17:29 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 06:08:52 +0000 (02:08 -0400)
commitf62220d3a9ccb879c3f90f845ae57b724b7bbb62
tree72697d5d0b7bfdebaf0fd74bea07212c9820a6df
parent8ec7226a93dcd4a314e2387d1033aef01145061b
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>
Documentation/networking/phy.txt
drivers/net/phy/mdio_bus.c
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c
include/linux/phy.h