-/* $OpenBSD: bcm2835_dwctwo.c,v 1.1 2020/05/14 15:44:07 kettenis Exp $ */
+/* $OpenBSD: bcm2835_dwctwo.c,v 1.2 2021/02/05 00:42:25 patrick Exp $ */
/*
* Copyright (c) 2015 Masao Uebayashi <uebayasi@tombiinc.com>
*
if (idx == -1)
idx = 1;
- sc->sc_ih = arm_intr_establish_fdt_idx(faa->fa_node, idx, IPL_USB,
+ sc->sc_ih = fdt_intr_establish_idx(faa->fa_node, idx, IPL_USB,
dwc2_intr, (void *)&sc->sc_dwc2, sc->sc_dwc2.sc_bus.bdev.dv_xname);
if (sc->sc_ih == NULL)
panic("%s: intr_establish failed!", __func__);
-/* $OpenBSD: exuart.c,v 1.3 2021/02/05 00:13:37 patrick Exp $ */
+/* $OpenBSD: exuart.c,v 1.4 2021/02/05 00:42:25 patrick Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
*
}
stdout_node = OF_finddevice("/serial@13800000");
}
-
+
if (fdt_get_reg(node, 0, ®))
return;
if (faa->fa_nreg < 1)
return;
-
- sc->sc_irq = arm_intr_establish_fdt(faa->fa_node, IPL_TTY,
+ sc->sc_irq = fdt_intr_establish(faa->fa_node, IPL_TTY,
exuart_intr, sc, sc->sc_dev.dv_xname);
sc->sc_iot = faa->fa_iot;
-/* $OpenBSD: tcpci.c,v 1.1 2020/04/27 21:30:52 patrick Exp $ */
+/* $OpenBSD: tcpci.c,v 1.2 2021/02/05 00:42:25 patrick Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
pinctrl_byname(sc->sc_node, "default");
task_set(&sc->sc_task, tcpci_task, sc);
- sc->sc_ih = arm_intr_establish_fdt(sc->sc_node, IPL_BIO,
+ sc->sc_ih = fdt_intr_establish(sc->sc_node, IPL_BIO,
tcpci_intr, sc, sc->sc_dev.dv_xname);
if (sc->sc_ih == NULL) {
printf(": unable to establish interrupt\n");