diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-02-27 14:06:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-02 12:15:03 +0100 |
commit | f794fd440066ccd7d601f405f80aa514b95f15d1 (patch) | |
tree | 0e561f3746166cea336e5a710142fbc2cabd0648 /drivers/net/sfc/xfp_phy.c | |
parent | sfc: SFT9001/SFN4111T: Check PHY boot status during board initialisation (diff) | |
download | linux-f794fd440066ccd7d601f405f80aa514b95f15d1.tar.xz linux-f794fd440066ccd7d601f405f80aa514b95f15d1.zip |
sfc: Remove "XFP" from log messages that are not specific to XFP
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/xfp_phy.c')
-rw-r--r-- | drivers/net/sfc/xfp_phy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/sfc/xfp_phy.c b/drivers/net/sfc/xfp_phy.c index 2d50b6ecf5f9..5d1c7f800007 100644 --- a/drivers/net/sfc/xfp_phy.c +++ b/drivers/net/sfc/xfp_phy.c @@ -73,7 +73,7 @@ static int xfp_reset_phy(struct efx_nic *efx) return rc; fail: - EFX_ERR(efx, "XFP: reset timed out!\n"); + EFX_ERR(efx, "PHY reset timed out\n"); return rc; } @@ -88,15 +88,15 @@ static int xfp_phy_init(struct efx_nic *efx) return -ENOMEM; efx->phy_data = phy_data; - EFX_INFO(efx, "XFP: PHY ID reg %x (OUI %x model %x revision" - " %x)\n", devid, MDIO_ID_OUI(devid), MDIO_ID_MODEL(devid), + EFX_INFO(efx, "PHY ID reg %x (OUI %x model %x revision %x)\n", + devid, MDIO_ID_OUI(devid), MDIO_ID_MODEL(devid), MDIO_ID_REV(devid)); phy_data->phy_mode = efx->phy_mode; rc = xfp_reset_phy(efx); - EFX_INFO(efx, "XFP: PHY init %s.\n", + EFX_INFO(efx, "PHY init %s.\n", rc ? "failed" : "successful"); if (rc < 0) goto fail; |