diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2021-02-20 14:42:52 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2021-02-20 14:42:52 +0000 |
commit | 7fe1f5a7476dc736e47e3d5d05e471cb4d5dbbba (patch) | |
tree | 3fce3874d75138ae514a13ac7766c9f2b9966215 /sys | |
parent | 9dca510dabfed414c5d640d82c763fc19977f23a (diff) |
Fix disestablishing of PCI interrupt handlers.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/octeon/dev/octeon_pcibus.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/arch/octeon/dev/octeon_pcibus.c b/sys/arch/octeon/dev/octeon_pcibus.c index 4f61899628b..78f421a0f6f 100644 --- a/sys/arch/octeon/dev/octeon_pcibus.c +++ b/sys/arch/octeon/dev/octeon_pcibus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octeon_pcibus.c,v 1.20 2018/06/13 14:38:42 visa Exp $ */ +/* $OpenBSD: octeon_pcibus.c,v 1.21 2021/02/20 14:42:51 visa Exp $ */ /* $NetBSD: bonito_mainbus.c,v 1.11 2008/04/28 20:23:10 martin Exp $ */ /* $NetBSD: bonito_pci.c,v 1.5 2008/04/28 20:23:28 martin Exp $ */ @@ -419,14 +419,7 @@ octeon_pcibus_pci_intr_establish(void *cookie, pci_intr_handle_t ih, int level, void octeon_pcibus_pci_intr_disestablish(void *cookie, void *ihp) { - struct octeon_pcibus_softc *sc; - struct iobus_attach_args *aa; - - sc = (struct octeon_pcibus_softc *)cookie; - aa = sc->sc_aa; - -// XXX: this cause panic... -// iobus_intr_disestablish(ihp); + octeon_intr_disestablish(ihp); } /* |