"uptime %ud%uh%um%us)\n",
dev->name, days, hrs,
min, sec);
- netif_dormant_off(dev);
+#if 0
+ netif_carrier_on(dev);
+#endif
hdlc->state.cisco.up = 1;
}
}
hdlc->state.cisco.settings.timeout * HZ)) {
hdlc->state.cisco.up = 0;
printk(KERN_INFO "%s: Link down\n", dev->name);
- netif_dormant_on(dev);
+#if 0
+ netif_carrier_off(dev);
+#endif
}
cisco_keepalive_send(dev, CISCO_KEEPALIVE_REQ,
{
hdlc_device *hdlc = dev_to_hdlc(dev);
del_timer_sync(&hdlc->state.cisco.timer);
- netif_dormant_on(dev);
+#if 0
+ if (netif_carrier_ok(dev))
+ netif_carrier_off(dev);
+#endif
hdlc->state.cisco.up = 0;
hdlc->state.cisco.request_sent = 0;
}
dev->type = ARPHRD_CISCO;
dev->flags = IFF_POINTOPOINT | IFF_NOARP;
dev->addr_len = 0;
- netif_dormant_on(dev);
return 0;
}