Date: Thu, 24 Jun 2010 05:49:58 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209496 - head/sys/powerpc/mpc85xx Message-ID: <201006240549.o5O5nxI5096348@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006240549.o5O5nxI5096348>