summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/mpc85xx
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-02-02 05:58:51 +0000
committermarcel <marcel@FreeBSD.org>2011-02-02 05:58:51 +0000
commit696e30ffcc62f7282bba230ac5aecfd0bfcb46eb (patch)
tree2f2c6f560fc20435894c3f7f541450036bb10690 /sys/powerpc/mpc85xx
parent7ca6cd23bc831ba2c455a3079b64bc667e335343 (diff)
downloadFreeBSD-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/mpc85xx')
-rw-r--r--sys/powerpc/mpc85xx/pci_fdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/mpc85xx/pci_fdt.c b/sys/powerpc/mpc85xx/pci_fdt.c
index 7965167..11837c3 100644
--- a/sys/powerpc/mpc85xx/pci_fdt.c
+++ b/sys/powerpc/mpc85xx/pci_fdt.c
@@ -554,11 +554,11 @@ fsl_pcib_route_int(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func,
devfn = DEVFN(bus, slot, func);
if (devfn == sc->sc_devfn_via_ide)
- intline = INTR_VEC(0, 14);
+ intline = MAP_IRQ(0, 14);
else if (devfn == sc->sc_devfn_via_ide + 1)
- intline = INTR_VEC(0, 10);
+ intline = MAP_IRQ(0, 10);
else if (devfn == sc->sc_devfn_via_ide + 2)
- intline = INTR_VEC(0, 10);
+ intline = MAP_IRQ(0, 10);
else {
if (intpin != 0)
err = fdt_pci_route_intr(bus, slot, func, intpin,
OpenPOWER on IntegriCloud