mvsas: Recognise device/subsystem 9485/9485 as 88SE9485
authorBen Hutchings <ben@decadent.org.uk>
Wed, 19 Feb 2014 01:06:42 +0000 (01:06 +0000)
committerChristoph Hellwig <hch@lst.de>
Mon, 2 Jun 2014 07:53:20 +0000 (09:53 +0200)
Matt Taggart reported that mvsas didn't bind to the Marvell
SAS controller on a Supermicro AOC-SAS2LP-MV8 board.

lspci reports it as:

01:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. Device [1b4b:9485] (rev 03)
        Subsystem: Marvell Technology Group Ltd. Device [1b4b:9485]
[...]

Add it to the device table as chip_9485.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Reported-by: Matt Taggart <taggart@debian.org>
Tested-by: Matt Taggart <taggart@debian.org>
Acked-By: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/mvsas/mv_init.c

index 5ff978be249d22b37df66601787cceca92933047..eacee48a955c56903b98b3f1c61b55219df0e2c9 100644 (file)
@@ -728,6 +728,15 @@ static struct pci_device_id mvs_pci_table[] = {
                .class_mask     = 0,
                .driver_data    = chip_9485,
        },
+       {
+               .vendor         = PCI_VENDOR_ID_MARVELL_EXT,
+               .device         = 0x9485,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = 0x9485,
+               .class          = 0,
+               .class_mask     = 0,
+               .driver_data    = chip_9485,
+       },
        { PCI_VDEVICE(OCZ, 0x1021), chip_9485}, /* OCZ RevoDrive3 */
        { PCI_VDEVICE(OCZ, 0x1022), chip_9485}, /* OCZ RevoDrive3/zDriveR4 (exact model unknown) */
        { PCI_VDEVICE(OCZ, 0x1040), chip_9485}, /* OCZ RevoDrive3/zDriveR4 (exact model unknown) */