diff options
-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); } /* |