patch-2.3.99-pre7 linux/drivers/char/applicom.c

Next file: linux/drivers/char/bttv.c
Previous file: linux/drivers/char/amiserial.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/char/applicom.c linux/drivers/char/applicom.c
@@ -205,6 +205,9 @@
 		if (dev->device  > MAX_PCI_DEVICE_NUM || dev->device == 0)
 			continue;
 		
+		if (pci_enable_device(dev))
+			return -EIO;
+
 		RamIO = ioremap(PCI_BASE_ADDRESS(dev), LEN_RAM_IO);
 
 		if (!RamIO) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)