diff options
Diffstat (limited to 'drivers/net/sfc/tenxpress.c')
-rw-r--r-- | drivers/net/sfc/tenxpress.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/net/sfc/tenxpress.c b/drivers/net/sfc/tenxpress.c index f21efe7bd316..6791be90c2fe 100644 --- a/drivers/net/sfc/tenxpress.c +++ b/drivers/net/sfc/tenxpress.c | |||
@@ -228,7 +228,8 @@ int sft9001_wait_boot(struct efx_nic *efx) | |||
228 | boot_stat = efx_mdio_read(efx, MDIO_MMD_PCS, | 228 | boot_stat = efx_mdio_read(efx, MDIO_MMD_PCS, |
229 | PCS_BOOT_STATUS_REG); | 229 | PCS_BOOT_STATUS_REG); |
230 | if (boot_stat >= 0) { | 230 | if (boot_stat >= 0) { |
231 | EFX_LOG(efx, "PHY boot status = %#x\n", boot_stat); | 231 | netif_dbg(efx, hw, efx->net_dev, |
232 | "PHY boot status = %#x\n", boot_stat); | ||
232 | switch (boot_stat & | 233 | switch (boot_stat & |
233 | ((1 << PCS_BOOT_FATAL_ERROR_LBN) | | 234 | ((1 << PCS_BOOT_FATAL_ERROR_LBN) | |
234 | (3 << PCS_BOOT_PROGRESS_LBN) | | 235 | (3 << PCS_BOOT_PROGRESS_LBN) | |
@@ -463,10 +464,11 @@ static void sfx7101_check_bad_lp(struct efx_nic *efx, bool link_ok) | |||
463 | reg |= PMA_PMD_LED_OFF << PMA_PMD_LED_RX_LBN; | 464 | reg |= PMA_PMD_LED_OFF << PMA_PMD_LED_RX_LBN; |
464 | } else { | 465 | } else { |
465 | reg |= PMA_PMD_LED_FLASH << PMA_PMD_LED_RX_LBN; | 466 | reg |= PMA_PMD_LED_FLASH << PMA_PMD_LED_RX_LBN; |
466 | EFX_ERR(efx, "appears to be plugged into a port" | 467 | netif_err(efx, link, efx->net_dev, |
467 | " that is not 10GBASE-T capable. The PHY" | 468 | "appears to be plugged into a port" |
468 | " supports 10GBASE-T ONLY, so no link can" | 469 | " that is not 10GBASE-T capable. The PHY" |
469 | " be established\n"); | 470 | " supports 10GBASE-T ONLY, so no link can" |
471 | " be established\n"); | ||
470 | } | 472 | } |
471 | efx_mdio_write(efx, MDIO_MMD_PMAPMD, | 473 | efx_mdio_write(efx, MDIO_MMD_PMAPMD, |
472 | PMA_PMD_LED_OVERR_REG, reg); | 474 | PMA_PMD_LED_OVERR_REG, reg); |