diff options
author | nate <nate@FreeBSD.org> | 1997-10-26 02:55:31 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-10-26 02:55:31 +0000 |
commit | bc21da1f3f59930a96cd6829bfaf0147d28b7754 (patch) | |
tree | fc1cffa2d6c470beb385230b814d9cc3f8f42e3d | |
parent | 486b8925ecb0d408e403474828e20c1cce8aaec8 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/pccard/pccard.c | 2 |
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; |