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

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)