patch-2.3.99-pre7 linux/drivers/atm/zatm.c

Next file: linux/drivers/block/DAC960.c
Previous file: linux/drivers/atm/suni.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/atm/zatm.c linux/drivers/atm/zatm.c
@@ -1811,6 +1811,7 @@
 		while ((pci_dev = pci_find_device(PCI_VENDOR_ID_ZEITNET,type ?
 		    PCI_DEVICE_ID_ZEITNET_1225 : PCI_DEVICE_ID_ZEITNET_1221,
 		    pci_dev))) {
+			if (pci_enable_device(pci_dev)) break;
 			dev = atm_dev_register(DEV_LABEL,&ops,-1,NULL);
 			if (!dev) break;
 			zatm_dev->pci_dev = pci_dev;

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