pm80xx: Added pm8006 controller support
authorSuresh Thiagarajan <Suresh.Thiagarajan@pmcs.com>
Thu, 12 Feb 2015 06:34:37 +0000 (12:04 +0530)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 12 Aug 2015 18:11:14 +0000 (11:11 -0700)
Signed-off-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com>
Signed-off-by: Viswas G <Viswas.G@pmcs.com>
Acked-by: Jack Wang <xjtuwjp@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/pm8001/pm8001_defs.h
drivers/scsi/pm8001/pm8001_init.c

index 74a4bb9af07b61d23a4bfda39b5b341c04f7adfb..dc4233be52c8179bfdffb22b21e0bb1c702f4290 100644 (file)
@@ -49,7 +49,8 @@ enum chip_flavors {
        chip_8019,
        chip_8074,
        chip_8076,
-       chip_8077
+       chip_8077,
+       chip_8006,
 };
 
 enum phy_speed {
index a132f2664d2f22e607d934bb51469852ab93bb88..5c0356fb6310ecfeb5c39cafe9bc75c7cb354002 100644 (file)
@@ -57,6 +57,7 @@ static const struct pm8001_chip_info pm8001_chips[] = {
        [chip_8074] = {0,  8, &pm8001_80xx_dispatch,},
        [chip_8076] = {0,  16, &pm8001_80xx_dispatch,},
        [chip_8077] = {0,  16, &pm8001_80xx_dispatch,},
+       [chip_8006] = {0,  16, &pm8001_80xx_dispatch,},
 };
 static int pm8001_id;
 
@@ -1107,6 +1108,8 @@ err_out_enable:
  */
 static struct pci_device_id pm8001_pci_table[] = {
        { PCI_VDEVICE(PMC_Sierra, 0x8001), chip_8001 },
+       { PCI_VDEVICE(PMC_Sierra, 0x8006), chip_8006 },
+       { PCI_VDEVICE(ADAPTEC2, 0x8006), chip_8006 },
        { PCI_VDEVICE(ATTO, 0x0042), chip_8001 },
        /* Support for SPC/SPCv/SPCve controllers */
        { PCI_VDEVICE(ADAPTEC2, 0x8001), chip_8001 },
@@ -1217,7 +1220,7 @@ MODULE_AUTHOR("Anand Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>");
 MODULE_AUTHOR("Sangeetha Gnanasekaran <Sangeetha.Gnanasekaran@pmcs.com>");
 MODULE_AUTHOR("Nikith Ganigarakoppal <Nikith.Ganigarakoppal@pmcs.com>");
 MODULE_DESCRIPTION(
-               "PMC-Sierra PM8001/8081/8088/8089/8074/8076/8077 "
+               "PMC-Sierra PM8001/8006/8081/8088/8089/8074/8076/8077 "
                "SAS/SATA controller driver");
 MODULE_VERSION(DRV_VERSION);
 MODULE_LICENSE("GPL");