Author: marcel Date: Thu Jun 24 05:49:58 2010 New Revision: 209496 URL: http://svn.freebsd.org/changeset/base/209496
Log: Assign PCI intline values for ISA interrupts using the new INTR_VEC() macro. Modified: head/sys/powerpc/mpc85xx/pci_ocp.c Modified: head/sys/powerpc/mpc85xx/pci_ocp.c ============================================================================== --- head/sys/powerpc/mpc85xx/pci_ocp.c Thu Jun 24 05:47:00 2010 (r209495) +++ head/sys/powerpc/mpc85xx/pci_ocp.c Thu Jun 24 05:49:58 2010 (r209496) @@ -470,11 +470,11 @@ pci_ocp_route_int(struct pci_ocp_softc * 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; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"