CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2011/05/24 18:12:47

Modified files:
        sys/dev/pci    : mpii.c 

Log message:
try to map an msi style interrupt. if that doesnt work then try to map a
normal intx style interrupt.

tested on a box with three mpii(4) controllers:

mpii0 at pci5 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii1 at pci8 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi
mpii2 at pci14 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: apic 2 int 8

no functional change, ie, everything still works.

it is ok to do this in mpii(4) since it is only enabled on i386 and
amd64, which are the only archs to get msi code so far.

discussed with and ok kettenis@

Reply via email to