From 264d635c08f31fa745e5bf85682d70dd0d93e791 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 10 Aug 2001 22:28:07 +0000 Subject: [PATCH] Replace pci_enable_device and add pci_set_master --- comedi/drivers/mite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2