diff options
author | nate <nate@FreeBSD.org> | 1997-11-04 17:50:23 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-11-04 17:50:23 +0000 |
commit | dc7373757648477086cdfb9a23f2bb84a5025cd6 (patch) | |
tree | 6552d83129fa5aa98e6801aa2f3544303372a45a /sys/pccard | |
parent | b865ee41909eeb0afa6e928b539c5954075ea33b (diff) | |
download | FreeBSD-src-dc7373757648477086cdfb9a23f2bb84a5025cd6.zip FreeBSD-src-dc7373757648477086cdfb9a23f2bb84a5025cd6.tar.gz |
- Reset the pcic controller interrupt 'poll' timeout *after* we call the
interrupt routine.
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pcic.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 815190f..14f4c79 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -259,14 +259,14 @@ pcic_handle(struct lkm_table *lkmtp, int cmd) { int err = 0; /* default = success*/ - switch( cmd) { + switch(cmd) { case LKM_E_LOAD: /* * Don't load twice! (lkmexists() is exported by kern_lkm.c) */ - if( lkmexists( lkmtp)) - return( EEXIST); + if(lkmexists(lkmtp)) + return(EEXIST); /* * Call the probe routine to find the slots. If * no slots exist, then don't bother loading the module. @@ -287,7 +287,7 @@ pcic_handle(struct lkm_table *lkmtp, int cmd) break; } - return( err); + return(err); } /* @@ -879,7 +879,7 @@ pcic_probe(void) } #endif /* PC98 */ if (validslots) - pcictimeout_ch = timeout(pcictimeout,0,hz/2); + pcictimeout_ch = timeout(pcictimeout, 0, hz/2); return(validslots); } @@ -1140,8 +1140,8 @@ pcic_disable(struct slot *slt) static void pcictimeout(void *chan) { - pcictimeout_ch = timeout(pcictimeout,0,hz/2); pcicintr(0); + pcictimeout_ch = timeout(pcictimeout, 0, hz/2); } /* |