diff options
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index a04e3892ddf4..820a92cc7f62 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c | |||
@@ -1110,8 +1110,15 @@ ixgb_watchdog(unsigned long data) | |||
1110 | 1110 | ||
1111 | if (adapter->hw.link_up) { | 1111 | if (adapter->hw.link_up) { |
1112 | if (!netif_carrier_ok(netdev)) { | 1112 | if (!netif_carrier_ok(netdev)) { |
1113 | DPRINTK(LINK, INFO, | 1113 | printk(KERN_INFO "ixgb: %s NIC Link is Up 10 Gbps " |
1114 | "NIC Link is Up 10000 Mbps Full Duplex\n"); | 1114 | "Full Duplex, Flow Control: %s\n", |
1115 | netdev->name, | ||
1116 | (adapter->hw.fc.type == ixgb_fc_full) ? | ||
1117 | "RX/TX" : | ||
1118 | ((adapter->hw.fc.type == ixgb_fc_rx_pause) ? | ||
1119 | "RX" : | ||
1120 | ((adapter->hw.fc.type == ixgb_fc_tx_pause) ? | ||
1121 | "TX" : "None"))); | ||
1115 | adapter->link_speed = 10000; | 1122 | adapter->link_speed = 10000; |
1116 | adapter->link_duplex = FULL_DUPLEX; | 1123 | adapter->link_duplex = FULL_DUPLEX; |
1117 | netif_carrier_on(netdev); | 1124 | netif_carrier_on(netdev); |
@@ -1121,7 +1128,8 @@ ixgb_watchdog(unsigned long data) | |||
1121 | if (netif_carrier_ok(netdev)) { | 1128 | if (netif_carrier_ok(netdev)) { |
1122 | adapter->link_speed = 0; | 1129 | adapter->link_speed = 0; |
1123 | adapter->link_duplex = 0; | 1130 | adapter->link_duplex = 0; |
1124 | DPRINTK(LINK, INFO, "NIC Link is Down\n"); | 1131 | printk(KERN_INFO "ixgb: %s NIC Link is Down\n", |
1132 | netdev->name); | ||
1125 | netif_carrier_off(netdev); | 1133 | netif_carrier_off(netdev); |
1126 | netif_stop_queue(netdev); | 1134 | netif_stop_queue(netdev); |
1127 | 1135 | ||