Replace pci_enable_device and add pci_set_master
authorDavid Schleef <ds@schleef.org>
Fri, 10 Aug 2001 22:28:07 +0000 (22:28 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 10 Aug 2001 22:28:07 +0000 (22:28 +0000)
comedi/drivers/mite.c

index 6a259f6e8f222f4fadd754962115cc49c10640d5..8294a1d086af0956ccb242a85ae6a256af4b38ee 100644 (file)
@@ -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