From: David Schleef Date: Fri, 10 Aug 2001 22:28:07 +0000 (+0000) Subject: Replace pci_enable_device and add pci_set_master X-Git-Tag: r0_7_61~189 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=264d635c08f31fa745e5bf85682d70dd0d93e791;p=comedi.git Replace pci_enable_device and add pci_set_master --- diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index 6a259f6e..8294a1d0 100644 --- a/comedi/drivers/mite.c +++ b/comedi/drivers/mite.c @@ -150,7 +150,8 @@ int mite_setup(struct mite_struct *mite) #if LINUX_VERSION_CODE < 0x020300 addr=mite->pcidev->base_address[0]; #else - //pci_enable_device(mite->pcidev); This is causing a hang when used with PCIDMA -- 7/27/01 Tim + pci_enable_device(mite->pcidev); + pci_set_master(mite->pcidev); addr=mite->pcidev->resource[0].start; #endif #endif