Skip to content

Commit

Permalink
sfc: Remove "XFP" from log messages that are not specific to XFP
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Mar 2, 2009
1 parent 190dbcf commit f794fd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/sfc/xfp_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
Expand Down

0 comments on commit f794fd4

Please sign in to comment.