diff options
author | marcel <marcel@FreeBSD.org> | 2011-02-02 05:58:51 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-02-02 05:58:51 +0000 |
commit | 696e30ffcc62f7282bba230ac5aecfd0bfcb46eb (patch) | |
tree | 2f2c6f560fc20435894c3f7f541450036bb10690 /sys/powerpc/powermac/uninorthpci.c | |
parent | 7ca6cd23bc831ba2c455a3079b64bc667e335343 (diff) | |
download | FreeBSD-src-696e30ffcc62f7282bba230ac5aecfd0bfcb46eb.zip FreeBSD-src-696e30ffcc62f7282bba230ac5aecfd0bfcb46eb.tar.gz |
Rename INTR_VEC to MAP_IRQ. From the OFW or FDT we obtain a
PIC handle with interrupt pin. This we map to the resource
called SYS_RES_IRQ.
Diffstat (limited to 'sys/powerpc/powermac/uninorthpci.c')
-rw-r--r-- | sys/powerpc/powermac/uninorthpci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/uninorthpci.c b/sys/powerpc/powermac/uninorthpci.c index 421c7e5..afca081 100644 --- a/sys/powerpc/powermac/uninorthpci.c +++ b/sys/powerpc/powermac/uninorthpci.c @@ -367,7 +367,7 @@ uninorth_route_interrupt(device_t bus, device_t dev, int pin) if (ofw_bus_lookup_imap(ofw_bus_get_node(dev), &sc->sc_pci_iinfo, ®, sizeof(reg), &pintr, sizeof(pintr), &mintr, sizeof(mintr), &iparent, maskbuf)) - return (INTR_VEC(iparent, mintr)); + return (MAP_IRQ(iparent, mintr)); /* Maybe it's a real interrupt, not an intpin */ if (pin > 4) |