From a3c057fa118d561b390ed5bde04ac2ffb17442f9 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Tue, 18 Jul 2006 20:51:54 +0000 Subject: [PATCH] set mite_phys_addr to zero after releasing io regions --- comedi/drivers/mite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index fed3009b..500e6484 100644 --- 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; -- 2.26.2