summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-10-26 02:55:31 +0000
committernate <nate@FreeBSD.org>1997-10-26 02:55:31 +0000
commitbc21da1f3f59930a96cd6829bfaf0147d28b7754 (patch)
treefc1cffa2d6c470beb385230b814d9cc3f8f42e3d /sys/pccard
parent486b8925ecb0d408e403474828e20c1cce8aaec8 (diff)
downloadFreeBSD-src-bc21da1f3f59930a96cd6829bfaf0147d28b7754.zip
FreeBSD-src-bc21da1f3f59930a96cd6829bfaf0147d28b7754.tar.gz
- Call 'callout_handle_init' on the two timeout channels after they are
created in the new slot controller structure.
Diffstat (limited to 'sys/pccard')
-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 f96c142..fc3d3f3 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -466,6 +466,8 @@ pccard_alloc_slot(struct slot_ctrl *cp)
printf("PC-Card %s (%d mem & %d I/O windows)\n",
cp->name, cp->maxmem, cp->maxio);
}
+ callout_handle_init(&slt->insert_ch);
+ callout_handle_init(&slt->poff_ch);
#if NAPM > 0
{
struct apmhook *ap;
OpenPOWER on IntegriCloud