aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-02-27 08:06:58 -0500
committerDavid S. Miller <davem@davemloft.net>2009-03-02 06:15:03 -0500
commitf794fd440066ccd7d601f405f80aa514b95f15d1 (patch)
tree0e561f3746166cea336e5a710142fbc2cabd0648 /drivers/net/sfc
parent190dbcfd6806c7c88fc028acda95731ffd43979d (diff)
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')
-rw-r--r--drivers/net/sfc/xfp_phy.c8
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)
73 return rc; 73 return rc;
74 74
75 fail: 75 fail:
76 EFX_ERR(efx, "XFP: reset timed out!\n"); 76 EFX_ERR(efx, "PHY reset timed out\n");
77 return rc; 77 return rc;
78} 78}
79 79
@@ -88,15 +88,15 @@ static int xfp_phy_init(struct efx_nic *efx)
88 return -ENOMEM; 88 return -ENOMEM;
89 efx->phy_data = phy_data; 89 efx->phy_data = phy_data;
90 90
91 EFX_INFO(efx, "XFP: PHY ID reg %x (OUI %x model %x revision" 91 EFX_INFO(efx, "PHY ID reg %x (OUI %x model %x revision %x)\n",
92 " %x)\n", devid, MDIO_ID_OUI(devid), MDIO_ID_MODEL(devid), 92 devid, MDIO_ID_OUI(devid), MDIO_ID_MODEL(devid),
93 MDIO_ID_REV(devid)); 93 MDIO_ID_REV(devid));
94 94
95 phy_data->phy_mode = efx->phy_mode; 95 phy_data->phy_mode = efx->phy_mode;
96 96
97 rc = xfp_reset_phy(efx); 97 rc = xfp_reset_phy(efx);
98 98
99 EFX_INFO(efx, "XFP: PHY init %s.\n", 99 EFX_INFO(efx, "PHY init %s.\n",
100 rc ? "failed" : "successful"); 100 rc ? "failed" : "successful");
101 if (rc < 0) 101 if (rc < 0)
102 goto fail; 102 goto fail;