summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1999-02-14 20:41:01 +0000
committerguido <guido@FreeBSD.org>1999-02-14 20:41:01 +0000
commit1c6e740053731732fee8859bb98031bac6e154e4 (patch)
tree48db87837c24dfab69822d033d4b8bbd0809ffc5 /sys/pccard/pcic.c
parentafbd37932c2d1866e565581b0928781b73f59fa9 (diff)
downloadFreeBSD-src-1c6e740053731732fee8859bb98031bac6e154e4.zip
FreeBSD-src-1c6e740053731732fee8859bb98031bac6e154e4.tar.gz
On second thought: do previous fux in pcic.c better.
Now we just untimeout the call to inserted() if it exists.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 4514dbc..651c1d5 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -1104,14 +1104,7 @@ pcicintr(void *unused)
#endif /* PC98 */
s = splhigh();
for (slot = 0; slot < PCIC_MAX_SLOTS; slot++, sp++)
- /*
- * don't process this interrupt if we are in suspend
- * state; we have different means to (re)initialize the
- * slot.
- * XXX we shouldn't even get here!?
- */
- if (sp->slt && (sp->slt->state != suspend) &&
- (chg = sp->getb(sp, PCIC_STAT_CHG)) != 0)
+ if (sp->slt && (chg = sp->getb(sp, PCIC_STAT_CHG)) != 0)
if (chg & PCIC_CDTCH) {
if ((sp->getb(sp, PCIC_STATUS) & PCIC_CD) ==
PCIC_CD) {
OpenPOWER on IntegriCloud