diff options
Diffstat (limited to 'drivers/net/e1000e/lib.c')
-rw-r--r-- | drivers/net/e1000e/lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/lib.c b/drivers/net/e1000e/lib.c index 66741104ffd1..ac2f34e1836d 100644 --- a/drivers/net/e1000e/lib.c +++ b/drivers/net/e1000e/lib.c | |||
@@ -501,7 +501,7 @@ s32 e1000e_check_for_fiber_link(struct e1000_hw *hw) | |||
501 | ew32(TXCW, mac->txcw); | 501 | ew32(TXCW, mac->txcw); |
502 | ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); | 502 | ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); |
503 | 503 | ||
504 | mac->serdes_has_link = 1; | 504 | mac->serdes_has_link = true; |
505 | } | 505 | } |
506 | 506 | ||
507 | return 0; | 507 | return 0; |
@@ -566,7 +566,7 @@ s32 e1000e_check_for_serdes_link(struct e1000_hw *hw) | |||
566 | ew32(TXCW, mac->txcw); | 566 | ew32(TXCW, mac->txcw); |
567 | ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); | 567 | ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); |
568 | 568 | ||
569 | mac->serdes_has_link = 1; | 569 | mac->serdes_has_link = true; |
570 | } else if (!(E1000_TXCW_ANE & er32(TXCW))) { | 570 | } else if (!(E1000_TXCW_ANE & er32(TXCW))) { |
571 | /* | 571 | /* |
572 | * If we force link for non-auto-negotiation switch, check | 572 | * If we force link for non-auto-negotiation switch, check |