Add pci_enable_device()
authorDavid Schleef <ds@schleef.org>
Thu, 19 Jul 2001 22:13:28 +0000 (22:13 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 19 Jul 2001 22:13:28 +0000 (22:13 +0000)
comedi/drivers/mite.c

index c37461013a2793c06cb0e2d92cead1b7a7947815..ed434af9cabea0ad55016e3f68fd3b8ad6ffce78 100644 (file)
@@ -146,6 +146,8 @@ int mite_setup(struct mite_struct *mite)
 #ifdef PCI_SUPPORT_VER1
        pcibios_read_config_dword(mite->pci_bus,mite->pci_device_fn,PCI_BASE_ADDRESS_0,&addr);
 #else
+       pci_enable_device(mite->pcidev);
+
 #if LINUX_VERSION_CODE < 0x020300
        addr=mite->pcidev->base_address[0];
 #else