patch-2.4.14 linux/drivers/char/istallion.c
Next file: linux/drivers/char/joystick/analog.c
Previous file: linux/drivers/char/ip2main.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu Oct 25 13:53:47 2001
- Orig file:
v2.4.13/linux/drivers/char/istallion.c
- Orig date:
Tue Oct 23 22:48:50 2001
diff -u --recursive --new-file v2.4.13/linux/drivers/char/istallion.c linux/drivers/char/istallion.c
@@ -431,6 +431,12 @@
#endif
#endif
+static struct pci_device_id istallion_pci_tbl[] = {
+ { PCI_VENDOR_ID_STALLION, PCI_DEVICE_ID_ECRA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+ { 0 }
+};
+MODULE_DEVICE_TABLE(pci, istallion_pci_tbl);
+
/*****************************************************************************/
/*
@@ -1529,9 +1535,9 @@
printk("stli_delay(len=%d)\n", len);
#endif
if (len > 0) {
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(len);
- current->state = TASK_RUNNING;
+ set_current_state(TASK_RUNNING);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)