Skip to contentSkip to conversation

hwmon, fam15h_power: Add support for two more processors

PATCH Superseded Aravind Gopalakrishnan 1 participant 1 message Sep 16, 2014

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 hwmon, fam15h_power: Add support for two more processors

Fam16h,M30h(Mullins) and Fam15hM30h(Kaveri) processors can report 'power_crit' value. So, adding their respective device ids.

---
 drivers/hwmon/fam15h_power.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hwmon/fam15h_power.c +2 -0
index 5ca24de..1e3b83a 100644
@@ -233,7 +233,9 @@ static int fam15h_power_probe(struct pci_dev *pdev,
 
 static const struct pci_device_id fam15h_power_id_table[] = {
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_NB_F4) },
+	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M30H_NB_F4) },
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F4) },
+	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F3) },
 	{}
 };
 MODULE_DEVICE_TABLE(pci, fam15h_power_id_table);
Signature · 1 line
2.0.2