aintc.c (e06afdb2856944d6db4e33d4bbe0e2dbbd057eb4) | aintc.c (85918beb387f179abc93a6c613801fb9761ff1e2) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2012 Damjan Marion <dmarion@Freebsd.org> 5 * All rights reserved. 6 * 7 * Based on OMAP3 INTC code by Ben Gray 8 * --- 216 unchanged lines hidden (view full) --- 225 return (error); 226 } 227 228 xref = OF_xref_from_node(ofw_bus_get_node(sc->sc_dev)); 229 pic = intr_pic_register(sc->sc_dev, xref); 230 if (pic == NULL) 231 return (ENXIO); 232 | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2012 Damjan Marion <dmarion@Freebsd.org> 5 * All rights reserved. 6 * 7 * Based on OMAP3 INTC code by Ben Gray 8 * --- 216 unchanged lines hidden (view full) --- 225 return (error); 226 } 227 228 xref = OF_xref_from_node(ofw_bus_get_node(sc->sc_dev)); 229 pic = intr_pic_register(sc->sc_dev, xref); 230 if (pic == NULL) 231 return (ENXIO); 232 |
233 return (intr_pic_claim_root(sc->sc_dev, xref, ti_aintc_intr, sc)); | 233 return (intr_pic_claim_root(sc->sc_dev, xref, ti_aintc_intr, sc, 234 INTR_ROOT_IRQ)); |
234} 235 236static int 237ti_aintc_probe(device_t dev) 238{ 239 if (!ofw_bus_status_okay(dev)) 240 return (ENXIO); 241 --- 64 unchanged lines hidden --- | 235} 236 237static int 238ti_aintc_probe(device_t dev) 239{ 240 if (!ofw_bus_status_okay(dev)) 241 return (ENXIO); 242 --- 64 unchanged lines hidden --- |