summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/mpc85xx/pci_ocp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/mpc85xx/pci_ocp.c b/sys/powerpc/mpc85xx/pci_ocp.c
index f257882..857f222 100644
--- a/sys/powerpc/mpc85xx/pci_ocp.c
+++ b/sys/powerpc/mpc85xx/pci_ocp.c
@@ -470,11 +470,11 @@ pci_ocp_route_int(struct pci_ocp_softc *sc, u_int bus, u_int slot, u_int func,
devfn = DEVFN(bus, slot, func);
if (devfn == sc->sc_devfn_via_ide)
- intline = 14;
+ intline = INTR_VEC(ATPIC_ID, 14);
else if (devfn == sc->sc_devfn_via_ide + 1)
- intline = 10;
+ intline = INTR_VEC(ATPIC_ID, 10);
else if (devfn == sc->sc_devfn_via_ide + 2)
- intline = 10;
+ intline = INTR_VEC(ATPIC_ID, 10);
else {
if (intpin != 0) {
intline = intpin - 1;
OpenPOWER on IntegriCloud