patch-2.3.46 linux/drivers/net/pcmcia/fmvj18x_cs.c
Next file: linux/drivers/net/pcmcia/netwave_cs.c
Previous file: linux/drivers/net/pcmcia/Makefile
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Tue Feb 15 08:53:46 2000
- Orig file:
v2.3.45/linux/drivers/net/pcmcia/fmvj18x_cs.c
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.45/linux/drivers/net/pcmcia/fmvj18x_cs.c linux/drivers/net/pcmcia/fmvj18x_cs.c
@@ -594,6 +594,7 @@
link->state &= ~DEV_PRESENT;
if (link->state & DEV_CONFIG) {
netif_stop_queue (dev);
+ clear_bit(LINK_STATE_START, &dev->state);
link->release.expires = jiffies + HZ/20;
add_timer(&link->release);
}
@@ -609,6 +610,7 @@
if (link->state & DEV_CONFIG) {
if (link->open) {
netif_stop_queue (dev);
+ clear_bit(LINK_STATE_START, &dev->state);
}
CardServices(ReleaseConfiguration, link->handle);
}
@@ -621,6 +623,7 @@
CardServices(RequestConfiguration, link->handle, &link->conf);
if (link->open) {
fjn_reset(dev);
+ set_bit(LINK_STATE_START, &dev->state);
netif_start_queue (dev);
}
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])