summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-08-24 09:31:57 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-08-24 09:31:57 +0000
commite4e11a70baaddcfde51007afbbf66fab7532d6d1 (patch)
treebd199af6c1e543d5cff69f1c23ed1f7e2e22ceb6 /sys/dev/cardbus
parent4c9c7626637876a3d7035c8586745991e73fd7f8 (diff)
pool_setipl for cardbus and drm pools.
ok kettenis@
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/cardslot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/cardbus/cardslot.c b/sys/dev/cardbus/cardslot.c
index 6dc7ac6918e..96ecda264d3 100644
--- a/sys/dev/cardbus/cardslot.c
+++ b/sys/dev/cardbus/cardslot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cardslot.c,v 1.19 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: cardslot.c,v 1.20 2016/08/24 09:31:56 dlg Exp $ */
/* $NetBSD: cardslot.c,v 1.9 2000/03/22 09:35:06 haya Exp $ */
/*
@@ -101,9 +101,11 @@ cardslotattach(struct device *parent, struct device *self, void *aux)
struct cardbus_softc *csc = NULL;
struct pcmcia_softc *psc = NULL;
- if (cardsloteventpool.pr_size == 0)
+ if (cardsloteventpool.pr_size == 0) {
pool_init(&cardsloteventpool, sizeof(struct cardslot_event),
0, 0, 0, "cardslot", NULL);
+ pool_setipl(&cardsloteventpool, IPL_BIO);
+ }
sc->sc_slot = sc->sc_dev.dv_unit;
sc->sc_cb_softc = NULL;