summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-02-06 15:49:09 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-02-06 15:49:09 +0000
commit10d90bb7dbdc242ab24544cf5a0053eaec235935 (patch)
treee283f3d8ec8489fe7d73fe53bd740b12890ac5d8 /sys/arch/octeon
parent84eb6925e7310183ea99a4a4f2fb7fea2fbc5ed1 (diff)
Mark ehci_intr() as MP-safe on octeon.
OK mpi@
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r--sys/arch/octeon/dev/octehci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/octeon/dev/octehci.c b/sys/arch/octeon/dev/octehci.c
index c6cacac6946..e2fc2bd295c 100644
--- a/sys/arch/octeon/dev/octehci.c
+++ b/sys/arch/octeon/dev/octehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octehci.c,v 1.1 2016/03/18 05:38:10 jmatthew Exp $ */
+/* $OpenBSD: octehci.c,v 1.2 2017/02/06 15:49:08 visa Exp $ */
/*
* Copyright (c) 2015 Jonathan Matthew <jmatthew@openbsd.org>
@@ -97,8 +97,8 @@ octehci_attach(struct device *parent, struct device *self, void *aux)
sc->sc_ehci.sc_id_vendor = 0;
strlcpy(sc->sc_ehci.sc_vendor, "Octeon", sizeof(sc->sc_ehci.sc_vendor));
- sc->sc_ih = octeon_intr_establish(CIU_INT_USB, IPL_USB, ehci_intr,
- (void *)&sc->sc_ehci, sc->sc_ehci.sc_bus.bdev.dv_xname);
+ sc->sc_ih = octeon_intr_establish(CIU_INT_USB, IPL_USB | IPL_MPSAFE,
+ ehci_intr, (void *)&sc->sc_ehci, sc->sc_ehci.sc_bus.bdev.dv_xname);
KASSERT(sc->sc_ih != NULL);
rc = ehci_init(&sc->sc_ehci);