CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2015/01/05 16:18:36
Modified files: sys/dev/pci : mfii.c Log message: there's already three different types of chips in this family of controllers. the flags used in sgls on the first gen (thunderbolt) are different to the ones used on the second and third gens (fury and invader). this creates an mfii_iop struct to store differences between these chips, and uses them to set the flags on the sgls we generate for the chip. this solves lockups caused by stuck io on the following chips: mfii0 at pci1 dev 0 function 0 "Symbios Logic MegaRAID SAS3108" rev 0x02: msi mfii0: "PERC H730 Mini", firmware 25.2.1.0037, 1024MB cache and mfii0 at pci1 dev 0 function 0 "Symbios Logic MegaRAID SAS3008" rev 0x02: msi mfii0: "PERC H330 Mini", firmware 25.2.1.0037 ive also tested this diff on: mfii0 at pci10 dev 0 function 0 "Symbios Logic MegaRAID SAS2208" rev 0x05: msi mfii0: "PERC H810 Adapter", firmware 21.2.0-0007, 1024MB cache and mfii0 at pci1 dev 0 function 0 "Symbios Logic MegaRAID SAS2208" rev 0x05: msi mfii0: "PERC H710 Mini", firmware 21.3.0-0009, 512MB cache Hrvoje Popovski reported the bug and verified the fix on his hardware.