patch-2.4.0-test5 linux/drivers/pcmcia/ds.c
Next file: linux/drivers/pcmcia/pci_socket.c
Previous file: linux/drivers/pcmcia/cs_internal.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Jul 26 18:21:34 2000
- Orig file:
v2.4.0-test4/linux/drivers/pcmcia/ds.c
- Orig date:
Fri Jul 14 12:12:12 2000
diff -u --recursive --new-file v2.4.0-test4/linux/drivers/pcmcia/ds.c linux/drivers/pcmcia/ds.c
@@ -878,7 +878,14 @@
int i, ret;
DEBUG(0, "%s\n", version);
-
+
+ /*
+ * Ugly. But we want to wait for the socket threads to have started up.
+ * We really should let the drivers themselves drive some of this..
+ */
+ current->state = TASK_INTERRUPTIBLE;
+ schedule_timeout(HZ/10);
+
pcmcia_get_card_services_info(&serv);
if (serv.Revision != CS_RELEASE_CODE) {
printk(KERN_NOTICE "ds: Card Services release does not match!\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)