aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ixp2000/enp2611.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ixp2000/enp2611.c b/drivers/net/ixp2000/enp2611.c
index bc29dbeec318..2542e3bacfb9 100644
--- a/drivers/net/ixp2000/enp2611.c
+++ b/drivers/net/ixp2000/enp2611.c
@@ -152,10 +152,15 @@ static void enp2611_check_link_status(unsigned long __dummy)
152 152
153 status = pm3386_is_link_up(i); 153 status = pm3386_is_link_up(i);
154 if (status && !netif_carrier_ok(dev)) { 154 if (status && !netif_carrier_ok(dev)) {
155 /* @@@ Should report autonegotiation status. */
156 printk(KERN_INFO "%s: NIC Link is Up\n", dev->name);
157
155 pm3386_enable_tx(i); 158 pm3386_enable_tx(i);
156 caleb_enable_tx(i); 159 caleb_enable_tx(i);
157 netif_carrier_on(dev); 160 netif_carrier_on(dev);
158 } else if (!status && netif_carrier_ok(dev)) { 161 } else if (!status && netif_carrier_ok(dev)) {
162 printk(KERN_INFO "%s: NIC Link is Down\n", dev->name);
163
159 netif_carrier_off(dev); 164 netif_carrier_off(dev);
160 caleb_disable_tx(i); 165 caleb_disable_tx(i);
161 pm3386_disable_tx(i); 166 pm3386_disable_tx(i);