diff options
author | Kumar Gala <galak@gate.crashing.org> | 2006-01-11 19:27:33 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-12 21:31:52 (GMT) |
commit | a4d00f179fcec7065fe5742e9cebd6500886070f (patch) | |
tree | 1d0fea6521276122c2e767db52bc821241849f8e /drivers/net/phy/phy.c | |
parent | 1d5326774c9245fef77334a9e0f11cd4f8aa7b4e (diff) | |
download | linux-a4d00f179fcec7065fe5742e9cebd6500886070f.tar.xz |
[PATCH] phy: Added a macro to represent the string format used to match a phy device
Add the PHY_ID_FMT macro to ensure that the format of the id string used by a
driver to match to its specific phy is consistent between the mdio_bus and the
driver.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index b8686e4..1474b7c 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -42,7 +42,7 @@ */ void phy_print_status(struct phy_device *phydev) { - pr_info("%s: Link is %s", phydev->dev.bus_id, + pr_info("PHY: %s - Link is %s", phydev->dev.bus_id, phydev->link ? "Up" : "Down"); if (phydev->link) printk(" - %d/%s", phydev->speed, |