projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85d8775
)
set mite_phys_addr to zero after releasing io regions
author
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 18 Jul 2006 20:51:54 +0000
(20:51 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 18 Jul 2006 20:51:54 +0000
(20:51 +0000)
comedi/drivers/mite.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/mite.c
b/comedi/drivers/mite.c
index fed3009b2485265098dd3c00b69acbfc7d127b7c..500e6484dd3c289eb82f948ad647f541319bfadb 100644
(file)
--- a/
comedi/drivers/mite.c
+++ b/
comedi/drivers/mite.c
@@
-201,6
+201,7
@@
void mite_unsetup(struct mite_struct *mite)
if( mite->mite_phys_addr ){
pci_release_regions( mite->pcidev );
pci_disable_device( mite->pcidev );
+ mite->mite_phys_addr = 0;
}
mite->used = 0;