]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
hwmon: (fam15h_power) Add support for two more processors
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Tue, 16 Sep 2014 19:58:16 +0000 (14:58 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 17 Sep 2014 04:16:26 +0000 (21:16 -0700)
Fam16h,M30h(Mullins) and Fam15hM30h(Kaveri) processors can
report 'power_crit' value. So, adding their respective device ids.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/fam15h_power.c

index 4ee0126e02d6162991c9b627c35c8dd08a9ca5fc..fcdbde4ec692f25c11f0a44b281a3770ede2d0c0 100644 (file)
@@ -232,7 +232,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);