|
@@ -3472,7 +3472,7 @@ static void e1000_print_link_info(struct e1000_adapter *adapter)
|
|
|
((ctrl & E1000_CTRL_TFCE) ? "TX" : "None" )));
|
|
|
}
|
|
|
|
|
|
-bool e1000_has_link(struct e1000_adapter *adapter)
|
|
|
+bool e1000e_has_link(struct e1000_adapter *adapter)
|
|
|
{
|
|
|
struct e1000_hw *hw = &adapter->hw;
|
|
|
bool link_active = 0;
|
|
@@ -3553,7 +3553,7 @@ static void e1000_watchdog_task(struct work_struct *work)
|
|
|
u32 link, tctl;
|
|
|
int tx_pending = 0;
|
|
|
|
|
|
- link = e1000_has_link(adapter);
|
|
|
+ link = e1000e_has_link(adapter);
|
|
|
if ((netif_carrier_ok(netdev)) && link) {
|
|
|
e1000e_enable_receives(adapter);
|
|
|
goto link_up;
|