added pci_enable_device() call
authorFrank Mori Hess <fmhess@speakeasy.net>
Fri, 15 Feb 2002 23:08:44 +0000 (23:08 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Fri, 15 Feb 2002 23:08:44 +0000 (23:08 +0000)
comedi/drivers/icp_multi.h

index dd1b95d5576de7ea1408ab6234dda005fabe8c66..d8c3afa653e4f6986c84a4b01741111634b9930f 100644 (file)
@@ -151,6 +151,7 @@ int pci_card_alloc(struct pcilst_struct *inova)
        if (!inova) return -1;
 
        if (inova->used) return 1;
+       if(pci_enable_device(inova->pcidev)) return -1;
        inova->used=1;
        return 0;
 }