support interrupts via ACPI, so there's need for an ifdef around it.
ok kettenis@
-/* $OpenBSD: dwgpio.c,v 1.4 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: dwgpio.c,v 1.5 2021/12/29 17:52:22 patrick Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis
*
return;
unmap:
-#ifdef notyet
for (i = 0; i < sc->sc_nirq; i++) {
if (sc->sc_ih[i])
acpi_intr_disestablish(sc->sc_ih[i]);
}
-#endif
free(sc->sc_ih, M_DEVBUF, sc->sc_nirq * sizeof(*sc->sc_ih));
free(sc->sc_pin_ih, M_DEVBUF, sc->sc_npins * sizeof(*sc->sc_pin_ih));
bus_space_unmap(sc->sc_memt, sc->sc_memh, aaa->aaa_size[0]);
-/* $OpenBSD: if_bse_acpi.c,v 1.4 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: if_bse_acpi.c,v 1.5 2021/12/29 17:52:22 patrick Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis
*
return;
disestablish:
-#ifdef notyet
acpi_intr_disestablish(sc->sc.sc_ih);
-#endif
unmap:
bus_space_unmap(sc->sc.sc_bst, sc->sc.sc_bsh, aaa->aaa_size[0]);
}
-/* $OpenBSD: xhci_acpi.c,v 1.4 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: xhci_acpi.c,v 1.5 2021/12/29 17:52:22 patrick Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
return;
disestablish_ret:
-#ifdef notyet
acpi_intr_disestablish(sc->sc_ih);
-#endif
unmap:
bus_space_unmap(sc->sc.iot, sc->sc.ioh, sc->sc.sc_size);
return;