]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] mvsas: add support for Marvell 88SE9445/88SE9485
authorXiangliang Yu <yuxiangl@marvell.com>
Tue, 26 Apr 2011 13:34:01 +0000 (06:34 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 17:06:19 +0000 (12:06 -0500)
This is support for Marvell 88SE9445/88SE9485 SAS/SATA HBA, which
is based on Marvell 88SE9480.

Signed-off-by: Xiangliang Yu <yuxiangl@marvell.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mvsas/mv_defs.h
drivers/scsi/mvsas/mv_init.c

index 1849da1f030d60ccd28743d044b972a62063b8f1..880613fce1dd0cba4a66622babb004e179bec434 100644 (file)
@@ -34,6 +34,8 @@ enum chip_flavors {
        chip_6485,
        chip_9480,
        chip_9180,
+       chip_9445,
+       chip_9485,
        chip_1300,
        chip_1320
 };
index 938d045e4180709d8e7e197196a0b4616573a51e..0123c6b6db9662ec4bab37c4da16f61549526184 100644 (file)
@@ -32,6 +32,8 @@ static const struct mvs_chip_info mvs_chips[] = {
        [chip_6485] =   { 1, 8, 0x800, 33, 32, 10, &mvs_64xx_dispatch, },
        [chip_9180] =   { 2, 4, 0x800, 17, 64,  9, &mvs_94xx_dispatch, },
        [chip_9480] =   { 2, 4, 0x800, 17, 64,  9, &mvs_94xx_dispatch, },
+       [chip_9445] =   { 1, 4, 0x800, 17, 64, 11, &mvs_94xx_dispatch, },
+       [chip_9485] =   { 2, 4, 0x800, 17, 64, 11, &mvs_94xx_dispatch, },
        [chip_1300] =   { 1, 4, 0x400, 17, 16,  9, &mvs_64xx_dispatch, },
        [chip_1320] =   { 2, 4, 0x800, 17, 64,  9, &mvs_94xx_dispatch, },
 };
@@ -670,6 +672,24 @@ static struct pci_device_id __devinitdata mvs_pci_table[] = {
        { PCI_VDEVICE(TTI, 0x2740), chip_9480 },
        { PCI_VDEVICE(TTI, 0x2744), chip_9480 },
        { PCI_VDEVICE(TTI, 0x2760), chip_9480 },
+       {
+               .vendor         = 0x1b4b,
+               .device         = 0x9445,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = 0x9480,
+               .class          = 0,
+               .class_mask     = 0,
+               .driver_data    = chip_9445,
+       },
+       {
+               .vendor         = 0x1b4b,
+               .device         = 0x9485,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = 0x9480,
+               .class          = 0,
+               .class_mask     = 0,
+               .driver_data    = chip_9485,
+       },
 
        { }     /* terminate list */
 };