aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvsas
diff options
context:
space:
mode:
authorXiangliang Yu <yuxiangl@marvell.com>2011-04-26 09:34:01 -0400
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 13:06:19 -0400
commit8214028344b4a38aabf73d95347e1e35538c75f6 (patch)
tree3525e6ab0e10469a5aca1b37cf5a01d990ae78c7 /drivers/scsi/mvsas
parentc0d289b3e59577532c45ee9110ef81bd7b341272 (diff)
[SCSI] mvsas: add support for Marvell 88SE9445/88SE9485
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>
Diffstat (limited to 'drivers/scsi/mvsas')
-rw-r--r--drivers/scsi/mvsas/mv_defs.h2
-rw-r--r--drivers/scsi/mvsas/mv_init.c20
2 files changed, 22 insertions, 0 deletions
diff --git a/drivers/scsi/mvsas/mv_defs.h b/drivers/scsi/mvsas/mv_defs.h
index 1849da1f030d..880613fce1dd 100644
--- a/drivers/scsi/mvsas/mv_defs.h
+++ b/drivers/scsi/mvsas/mv_defs.h
@@ -34,6 +34,8 @@ enum chip_flavors {
34 chip_6485, 34 chip_6485,
35 chip_9480, 35 chip_9480,
36 chip_9180, 36 chip_9180,
37 chip_9445,
38 chip_9485,
37 chip_1300, 39 chip_1300,
38 chip_1320 40 chip_1320
39}; 41};
diff --git a/drivers/scsi/mvsas/mv_init.c b/drivers/scsi/mvsas/mv_init.c
index 938d045e4180..0123c6b6db96 100644
--- a/drivers/scsi/mvsas/mv_init.c
+++ b/drivers/scsi/mvsas/mv_init.c
@@ -32,6 +32,8 @@ static const struct mvs_chip_info mvs_chips[] = {
32 [chip_6485] = { 1, 8, 0x800, 33, 32, 10, &mvs_64xx_dispatch, }, 32 [chip_6485] = { 1, 8, 0x800, 33, 32, 10, &mvs_64xx_dispatch, },
33 [chip_9180] = { 2, 4, 0x800, 17, 64, 9, &mvs_94xx_dispatch, }, 33 [chip_9180] = { 2, 4, 0x800, 17, 64, 9, &mvs_94xx_dispatch, },
34 [chip_9480] = { 2, 4, 0x800, 17, 64, 9, &mvs_94xx_dispatch, }, 34 [chip_9480] = { 2, 4, 0x800, 17, 64, 9, &mvs_94xx_dispatch, },
35 [chip_9445] = { 1, 4, 0x800, 17, 64, 11, &mvs_94xx_dispatch, },
36 [chip_9485] = { 2, 4, 0x800, 17, 64, 11, &mvs_94xx_dispatch, },
35 [chip_1300] = { 1, 4, 0x400, 17, 16, 9, &mvs_64xx_dispatch, }, 37 [chip_1300] = { 1, 4, 0x400, 17, 16, 9, &mvs_64xx_dispatch, },
36 [chip_1320] = { 2, 4, 0x800, 17, 64, 9, &mvs_94xx_dispatch, }, 38 [chip_1320] = { 2, 4, 0x800, 17, 64, 9, &mvs_94xx_dispatch, },
37}; 39};
@@ -670,6 +672,24 @@ static struct pci_device_id __devinitdata mvs_pci_table[] = {
670 { PCI_VDEVICE(TTI, 0x2740), chip_9480 }, 672 { PCI_VDEVICE(TTI, 0x2740), chip_9480 },
671 { PCI_VDEVICE(TTI, 0x2744), chip_9480 }, 673 { PCI_VDEVICE(TTI, 0x2744), chip_9480 },
672 { PCI_VDEVICE(TTI, 0x2760), chip_9480 }, 674 { PCI_VDEVICE(TTI, 0x2760), chip_9480 },
675 {
676 .vendor = 0x1b4b,
677 .device = 0x9445,
678 .subvendor = PCI_ANY_ID,
679 .subdevice = 0x9480,
680 .class = 0,
681 .class_mask = 0,
682 .driver_data = chip_9445,
683 },
684 {
685 .vendor = 0x1b4b,
686 .device = 0x9485,
687 .subvendor = PCI_ANY_ID,
688 .subdevice = 0x9480,
689 .class = 0,
690 .class_mask = 0,
691 .driver_data = chip_9485,
692 },
673 693
674 { } /* terminate list */ 694 { } /* terminate list */
675}; 695};