diff options
author | Nick Cheng <nick.cheng@areca.com.tw> | 2009-09-08 07:03:07 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-10-02 10:44:45 -0400 |
commit | f31491dc73a6459d601da8d9a5817a31c7dfc17b (patch) | |
tree | 20ee2a56b6271fb9bfe14b60534e5e2743d6ee82 | |
parent | e399835c349b7d8339775a004a86a492a444e230 (diff) |
[SCSI] mvsas: Support Areca SAS/SATA HBA, ARC-1300/1320
This is support for Areca SAS/SATA HBA, ARC-1300/1320, which quipped with
88SE6440/88SE9480 respectively.
Signed-off-by: Nick Cheng< nick.cheng@areca.com.tw >
Cc: Ke Wei <kewei.mv@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r-- | drivers/scsi/mvsas/mv_defs.h | 4 | ||||
-rw-r--r-- | drivers/scsi/mvsas/mv_init.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/mvsas/mv_defs.h b/drivers/scsi/mvsas/mv_defs.h index f8cb9defb961..1849da1f030d 100644 --- a/drivers/scsi/mvsas/mv_defs.h +++ b/drivers/scsi/mvsas/mv_defs.h | |||
@@ -25,6 +25,8 @@ | |||
25 | #ifndef _MV_DEFS_H_ | 25 | #ifndef _MV_DEFS_H_ |
26 | #define _MV_DEFS_H_ | 26 | #define _MV_DEFS_H_ |
27 | 27 | ||
28 | #define PCI_DEVICE_ID_ARECA_1300 0x1300 | ||
29 | #define PCI_DEVICE_ID_ARECA_1320 0x1320 | ||
28 | 30 | ||
29 | enum chip_flavors { | 31 | enum chip_flavors { |
30 | chip_6320, | 32 | chip_6320, |
@@ -32,6 +34,8 @@ enum chip_flavors { | |||
32 | chip_6485, | 34 | chip_6485, |
33 | chip_9480, | 35 | chip_9480, |
34 | chip_9180, | 36 | chip_9180, |
37 | chip_1300, | ||
38 | chip_1320 | ||
35 | }; | 39 | }; |
36 | 40 | ||
37 | /* driver compile-time configuration */ | 41 | /* driver compile-time configuration */ |
diff --git a/drivers/scsi/mvsas/mv_init.c b/drivers/scsi/mvsas/mv_init.c index 8646a19f999d..c790d45876c4 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_1300] = { 1, 4, 0x400, 17, 16, 9, &mvs_64xx_dispatch, }, | ||
36 | [chip_1320] = { 2, 4, 0x800, 17, 64, 9, &mvs_94xx_dispatch, }, | ||
35 | }; | 37 | }; |
36 | 38 | ||
37 | #define SOC_SAS_NUM 2 | 39 | #define SOC_SAS_NUM 2 |
@@ -653,6 +655,8 @@ static struct pci_device_id __devinitdata mvs_pci_table[] = { | |||
653 | { PCI_VDEVICE(MARVELL, 0x6485), chip_6485 }, | 655 | { PCI_VDEVICE(MARVELL, 0x6485), chip_6485 }, |
654 | { PCI_VDEVICE(MARVELL, 0x9480), chip_9480 }, | 656 | { PCI_VDEVICE(MARVELL, 0x9480), chip_9480 }, |
655 | { PCI_VDEVICE(MARVELL, 0x9180), chip_9180 }, | 657 | { PCI_VDEVICE(MARVELL, 0x9180), chip_9180 }, |
658 | { PCI_VDEVICE(ARECA, PCI_DEVICE_ID_ARECA_1300), chip_1300 }, | ||
659 | { PCI_VDEVICE(ARECA, PCI_DEVICE_ID_ARECA_1320), chip_1320 }, | ||
656 | 660 | ||
657 | { } /* terminate list */ | 661 | { } /* terminate list */ |
658 | }; | 662 | }; |