From 9be75e2992d4e7461eb136de6a2ecb9e9940372d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 19 Jul 2001 22:13:28 +0000 Subject: [PATCH] Add pci_enable_device() --- comedi/drivers/mite.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2