From: David Schleef Date: Thu, 19 Jul 2001 22:13:28 +0000 (+0000) Subject: Add pci_enable_device() X-Git-Tag: r0_7_60~40 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9be75e2992d4e7461eb136de6a2ecb9e9940372d;p=comedi.git Add pci_enable_device() --- diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index c3746101..ed434af9 100644 --- a/comedi/drivers/mite.c +++ b/comedi/drivers/mite.c @@ -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