aboutsummaryrefslogtreecommitdiff
path: root/sys/pccard
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-09-29 23:36:17 +0000
committerWarner Losh <imp@FreeBSD.org>2002-09-29 23:36:17 +0000
commit253b72896cfa69db275ca5d1ffedc322c237a706 (patch)
tree966a23fdae7626acf2d1ba7a65242343a6b0ca79 /sys/pccard
parent2735483034561216667fb6ec5309b138ad2df09f (diff)
Notes
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index ec9b1bd3cfe9..122bc246b71b 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -960,7 +960,7 @@ pcic_reset(void *chan)
printf("int is %x stat is %x\n",
sp->getb(sp, PCIC_INT_GEN),
sp->getb(sp, PCIC_STATUS));
- if (!sp->getb(sp, PCIC_STATUS) & PCIC_READY) {
+ if ((sp->getb(sp, PCIC_STATUS) & PCIC_READY) == 0) {
timeout(pcic_reset, (void *)slt, hz/10);
return;
}