projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9217093
)
Replace pci_enable_device and add pci_set_master
author
David Schleef
<ds@schleef.org>
Fri, 10 Aug 2001 22:28:07 +0000
(22:28 +0000)
committer
David Schleef
<ds@schleef.org>
Fri, 10 Aug 2001 22:28:07 +0000
(22:28 +0000)
comedi/drivers/mite.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/mite.c
b/comedi/drivers/mite.c
index 6a259f6e8f222f4fadd754962115cc49c10640d5..8294a1d086af0956ccb242a85ae6a256af4b38ee 100644
(file)
--- 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