Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8571b1e authored by Suresh Thiagarajan's avatar Suresh Thiagarajan Committed by James Bottomley
Browse files

pm80xx: Added pm8006 controller support

parent c21e0bbf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -49,7 +49,8 @@ enum chip_flavors {
	chip_8019,
	chip_8074,
	chip_8076,
	chip_8077
	chip_8077,
	chip_8006,
};

enum phy_speed {
+4 −1
Original line number Diff line number Diff line
@@ -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 @@ static int pm8001_pci_resume(struct pci_dev *pdev)
 */
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");