projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
467e63d
)
Add pci_enable_device()
author
David Schleef
<ds@schleef.org>
Thu, 19 Jul 2001 22:13:28 +0000
(22:13 +0000)
committer
David Schleef
<ds@schleef.org>
Thu, 19 Jul 2001 22:13:28 +0000
(22:13 +0000)
comedi/drivers/mite.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/mite.c
b/comedi/drivers/mite.c
index c37461013a2793c06cb0e2d92cead1b7a7947815..ed434af9cabea0ad55016e3f68fd3b8ad6ffce78 100644
(file)
--- 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