aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authorbo yang <bo.yang@lsi.com>2008-03-17 04:13:07 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 13:19:00 -0400
commitaf7a5647c03c18f5ea58033710ccb23d71727e0c (patch)
tree9e8949cad9f19de04a207a7f925d47ed7618dcea /drivers/scsi/megaraid
parentd532dbe2cb71586ab520dbef732d1af54a689313 (diff)
[SCSI] megaraid_sas: Add the new controller(1078DE) support to the driver
Add the new Controller (ID: 007C) support to driver. Signed-off-by Bo Yang<bo.yang@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas.c7
-rw-r--r--drivers/scsi/megaraid/megaraid_sas.h1
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drivers/scsi/megaraid/megaraid_sas.c
index ffd1390b155b..b937e9cddb23 100644
--- a/drivers/scsi/megaraid/megaraid_sas.c
+++ b/drivers/scsi/megaraid/megaraid_sas.c
@@ -68,6 +68,8 @@ static struct pci_device_id megasas_pci_table[] = {
68 /* xscale IOP */ 68 /* xscale IOP */
69 {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078R)}, 69 {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078R)},
70 /* ppc IOP */ 70 /* ppc IOP */
71 {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078DE)},
72 /* ppc IOP */
71 {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_VERDE_ZCR)}, 73 {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_VERDE_ZCR)},
72 /* xscale IOP, vega */ 74 /* xscale IOP, vega */
73 {PCI_DEVICE(PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_PERC5)}, 75 {PCI_DEVICE(PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_PERC5)},
@@ -1471,7 +1473,7 @@ megasas_transition_to_ready(struct megasas_instance* instance)
1471 instance->instancet->disable_intr(instance->reg_set); 1473 instance->instancet->disable_intr(instance->reg_set);
1472 writel(MFI_RESET_FLAGS, &instance->reg_set->inbound_doorbell); 1474 writel(MFI_RESET_FLAGS, &instance->reg_set->inbound_doorbell);
1473 1475
1474 max_wait = 10; 1476 max_wait = 60;
1475 cur_state = MFI_STATE_OPERATIONAL; 1477 cur_state = MFI_STATE_OPERATIONAL;
1476 break; 1478 break;
1477 1479
@@ -1991,7 +1993,8 @@ static int megasas_init_mfi(struct megasas_instance *instance)
1991 1993
1992 switch(instance->pdev->device) 1994 switch(instance->pdev->device)
1993 { 1995 {
1994 case PCI_DEVICE_ID_LSI_SAS1078R: 1996 case PCI_DEVICE_ID_LSI_SAS1078R:
1997 case PCI_DEVICE_ID_LSI_SAS1078DE:
1995 instance->instancet = &megasas_instance_template_ppc; 1998 instance->instancet = &megasas_instance_template_ppc;
1996 break; 1999 break;
1997 case PCI_DEVICE_ID_LSI_SAS1064R: 2000 case PCI_DEVICE_ID_LSI_SAS1064R:
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h
index fbbfe2ea049f..3a997eb457bf 100644
--- a/drivers/scsi/megaraid/megaraid_sas.h
+++ b/drivers/scsi/megaraid/megaraid_sas.h
@@ -26,6 +26,7 @@
26 * Device IDs 26 * Device IDs
27 */ 27 */
28#define PCI_DEVICE_ID_LSI_SAS1078R 0x0060 28#define PCI_DEVICE_ID_LSI_SAS1078R 0x0060
29#define PCI_DEVICE_ID_LSI_SAS1078DE 0x007C
29#define PCI_DEVICE_ID_LSI_VERDE_ZCR 0x0413 30#define PCI_DEVICE_ID_LSI_VERDE_ZCR 0x0413
30 31
31/* 32/*