summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pccard.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r--sys/pccard/pccard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 34d6339..ed7f324 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -567,6 +567,7 @@ struct slot *sp = arg;
* Now reset the card.
*/
sp->cinfo->reset(sp);
+ selwakeup(&sp->selp);
}
/*
* Card event callback. Called at splhigh to prevent
@@ -596,6 +597,7 @@ int s;
sp->state = empty;
splx(s);
printf("Card removed, slot %d\n", sp->slot);
+ selwakeup(&sp->selp);
}
break;
case card_inserted:
OpenPOWER on IntegriCloud