aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_init.c
diff options
context:
space:
mode:
authorAnand Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>2013-09-03 05:39:42 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-10-25 04:58:13 -0400
commita9a923e55ede94ddbf5b870b0f057da8b7cee1b9 (patch)
treee28a63a9868404cfd830a7d6448c00dc27740b69 /drivers/scsi/pm8001/pm8001_init.c
parentc712495e687e221b00bddae96247dbf6ffbc6200 (diff)
[SCSI] pm80xx: Device id changes to support series 8 controllers.
Updated pci id table with device, vendor, subdevice and subvendor ids for 8074, 8076, 8077 SAS/SATA 12G controllers. Added 12G related macros. Signed-off-by: Anandkumar.Santhanam@pmcs.com Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_init.c')
-rw-r--r--drivers/scsi/pm8001/pm8001_init.c32
1 files changed, 31 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c
index f7c189606b84..93e2d9e9d2b3 100644
--- a/drivers/scsi/pm8001/pm8001_init.c
+++ b/drivers/scsi/pm8001/pm8001_init.c
@@ -54,6 +54,9 @@ static const struct pm8001_chip_info pm8001_chips[] = {
54 [chip_8009] = {1, 8, &pm8001_80xx_dispatch,}, 54 [chip_8009] = {1, 8, &pm8001_80xx_dispatch,},
55 [chip_8018] = {0, 16, &pm8001_80xx_dispatch,}, 55 [chip_8018] = {0, 16, &pm8001_80xx_dispatch,},
56 [chip_8019] = {1, 16, &pm8001_80xx_dispatch,}, 56 [chip_8019] = {1, 16, &pm8001_80xx_dispatch,},
57 [chip_8074] = {0, 8, &pm8001_80xx_dispatch,},
58 [chip_8076] = {0, 16, &pm8001_80xx_dispatch,},
59 [chip_8077] = {0, 16, &pm8001_80xx_dispatch,},
57}; 60};
58static int pm8001_id; 61static int pm8001_id;
59 62
@@ -1037,6 +1040,12 @@ static struct pci_device_id pm8001_pci_table[] = {
1037 { PCI_VDEVICE(ADAPTEC2, 0x8009), chip_8009 }, 1040 { PCI_VDEVICE(ADAPTEC2, 0x8009), chip_8009 },
1038 { PCI_VDEVICE(PMC_Sierra, 0x8019), chip_8019 }, 1041 { PCI_VDEVICE(PMC_Sierra, 0x8019), chip_8019 },
1039 { PCI_VDEVICE(ADAPTEC2, 0x8019), chip_8019 }, 1042 { PCI_VDEVICE(ADAPTEC2, 0x8019), chip_8019 },
1043 { PCI_VDEVICE(PMC_Sierra, 0x8074), chip_8074 },
1044 { PCI_VDEVICE(ADAPTEC2, 0x8074), chip_8074 },
1045 { PCI_VDEVICE(PMC_Sierra, 0x8076), chip_8076 },
1046 { PCI_VDEVICE(ADAPTEC2, 0x8076), chip_8076 },
1047 { PCI_VDEVICE(PMC_Sierra, 0x8077), chip_8077 },
1048 { PCI_VDEVICE(ADAPTEC2, 0x8077), chip_8077 },
1040 { PCI_VENDOR_ID_ADAPTEC2, 0x8081, 1049 { PCI_VENDOR_ID_ADAPTEC2, 0x8081,
1041 PCI_VENDOR_ID_ADAPTEC2, 0x0400, 0, 0, chip_8001 }, 1050 PCI_VENDOR_ID_ADAPTEC2, 0x0400, 0, 0, chip_8001 },
1042 { PCI_VENDOR_ID_ADAPTEC2, 0x8081, 1051 { PCI_VENDOR_ID_ADAPTEC2, 0x8081,
@@ -1057,6 +1066,24 @@ static struct pci_device_id pm8001_pci_table[] = {
1057 PCI_VENDOR_ID_ADAPTEC2, 0x0016, 0, 0, chip_8019 }, 1066 PCI_VENDOR_ID_ADAPTEC2, 0x0016, 0, 0, chip_8019 },
1058 { PCI_VENDOR_ID_ADAPTEC2, 0x8089, 1067 { PCI_VENDOR_ID_ADAPTEC2, 0x8089,
1059 PCI_VENDOR_ID_ADAPTEC2, 0x1600, 0, 0, chip_8019 }, 1068 PCI_VENDOR_ID_ADAPTEC2, 0x1600, 0, 0, chip_8019 },
1069 { PCI_VENDOR_ID_ADAPTEC2, 0x8074,
1070 PCI_VENDOR_ID_ADAPTEC2, 0x0800, 0, 0, chip_8074 },
1071 { PCI_VENDOR_ID_ADAPTEC2, 0x8076,
1072 PCI_VENDOR_ID_ADAPTEC2, 0x1600, 0, 0, chip_8076 },
1073 { PCI_VENDOR_ID_ADAPTEC2, 0x8077,
1074 PCI_VENDOR_ID_ADAPTEC2, 0x1600, 0, 0, chip_8077 },
1075 { PCI_VENDOR_ID_ADAPTEC2, 0x8074,
1076 PCI_VENDOR_ID_ADAPTEC2, 0x0008, 0, 0, chip_8074 },
1077 { PCI_VENDOR_ID_ADAPTEC2, 0x8076,
1078 PCI_VENDOR_ID_ADAPTEC2, 0x0016, 0, 0, chip_8076 },
1079 { PCI_VENDOR_ID_ADAPTEC2, 0x8077,
1080 PCI_VENDOR_ID_ADAPTEC2, 0x0016, 0, 0, chip_8077 },
1081 { PCI_VENDOR_ID_ADAPTEC2, 0x8076,
1082 PCI_VENDOR_ID_ADAPTEC2, 0x0808, 0, 0, chip_8076 },
1083 { PCI_VENDOR_ID_ADAPTEC2, 0x8077,
1084 PCI_VENDOR_ID_ADAPTEC2, 0x0808, 0, 0, chip_8077 },
1085 { PCI_VENDOR_ID_ADAPTEC2, 0x8074,
1086 PCI_VENDOR_ID_ADAPTEC2, 0x0404, 0, 0, chip_8074 },
1060 {} /* terminate list */ 1087 {} /* terminate list */
1061}; 1088};
1062 1089
@@ -1108,8 +1135,11 @@ module_init(pm8001_init);
1108module_exit(pm8001_exit); 1135module_exit(pm8001_exit);
1109 1136
1110MODULE_AUTHOR("Jack Wang <jack_wang@usish.com>"); 1137MODULE_AUTHOR("Jack Wang <jack_wang@usish.com>");
1138MODULE_AUTHOR("Anand Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>");
1139MODULE_AUTHOR("Sangeetha Gnanasekaran <Sangeetha.Gnanasekaran@pmcs.com>");
1111MODULE_DESCRIPTION( 1140MODULE_DESCRIPTION(
1112 "PMC-Sierra PM8001/8081/8088/8089 SAS/SATA controller driver"); 1141 "PMC-Sierra PM8001/8081/8088/8089/8074/8076/8077 "
1142 "SAS/SATA controller driver");
1113MODULE_VERSION(DRV_VERSION); 1143MODULE_VERSION(DRV_VERSION);
1114MODULE_LICENSE("GPL"); 1144MODULE_LICENSE("GPL");
1115MODULE_DEVICE_TABLE(pci, pm8001_pci_table); 1145MODULE_DEVICE_TABLE(pci, pm8001_pci_table);