patch-2.3.99-pre7 linux/drivers/char/stradis.c
Next file: linux/drivers/char/sx.c
Previous file: linux/drivers/char/stallion.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Apr 28 23:00:06 2000
- Orig file:
v2.3.99-pre6/linux/drivers/char/stradis.c
- Orig date:
Tue Mar 7 14:32:25 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/char/stradis.c linux/drivers/char/stradis.c
@@ -2048,6 +2048,9 @@
init_waitqueue_head(&saa->debiq);
init_waitqueue_head(&saa->vidq);
spin_lock_init(&saa->lock);
+
+ if (pci_enable_device(dev))
+ return -EIO;
saa->id = dev->device;
saa->irq = dev->irq;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)