Commit f794fd44 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller

sfc: Remove "XFP" from log messages that are not specific to XFP

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 190dbcfd
...@@ -73,7 +73,7 @@ static int xfp_reset_phy(struct efx_nic *efx) ...@@ -73,7 +73,7 @@ static int xfp_reset_phy(struct efx_nic *efx)
return rc; return rc;
fail: fail:
EFX_ERR(efx, "XFP: reset timed out!\n"); EFX_ERR(efx, "PHY reset timed out\n");
return rc; return rc;
} }
...@@ -88,15 +88,15 @@ static int xfp_phy_init(struct efx_nic *efx) ...@@ -88,15 +88,15 @@ static int xfp_phy_init(struct efx_nic *efx)
return -ENOMEM; return -ENOMEM;
efx->phy_data = phy_data; efx->phy_data = phy_data;
EFX_INFO(efx, "XFP: PHY ID reg %x (OUI %x model %x revision" EFX_INFO(efx, "PHY ID reg %x (OUI %x model %x revision %x)\n",
" %x)\n", devid, MDIO_ID_OUI(devid), MDIO_ID_MODEL(devid), devid, MDIO_ID_OUI(devid), MDIO_ID_MODEL(devid),
MDIO_ID_REV(devid)); MDIO_ID_REV(devid));
phy_data->phy_mode = efx->phy_mode; phy_data->phy_mode = efx->phy_mode;
rc = xfp_reset_phy(efx); rc = xfp_reset_phy(efx);
EFX_INFO(efx, "XFP: PHY init %s.\n", EFX_INFO(efx, "PHY init %s.\n",
rc ? "failed" : "successful"); rc ? "failed" : "successful");
if (rc < 0) if (rc < 0)
goto fail; goto fail;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment