diff options
author | marcel <marcel@FreeBSD.org> | 2010-06-24 05:49:58 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-06-24 05:49:58 +0000 |
commit | 3afd8b158b215777a7bf844f9a537b51e867d6f3 (patch) | |
tree | d62e65c777410e8d1654eefea12f2e677d0f1152 /sys/powerpc/mpc85xx | |
parent | 3bd98efb16fc607fc30a1757d1ff456bc9852c91 (diff) | |
download | FreeBSD-src-3afd8b158b215777a7bf844f9a537b51e867d6f3.zip FreeBSD-src-3afd8b158b215777a7bf844f9a537b51e867d6f3.tar.gz |
Assign PCI intline values for ISA interrupts using the new INTR_VEC()
macro.
Diffstat (limited to 'sys/powerpc/mpc85xx')
-rw-r--r-- | sys/powerpc/mpc85xx/pci_ocp.c | 6 |
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; |