* [PATCH V2 2/2] hwmon, fam15h_power: Add support for two more processors
@ 2014-09-16 19:58 Aravind Gopalakrishnan
2014-09-17 4:18 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Aravind Gopalakrishnan @ 2014-09-16 19:58 UTC (permalink / raw)
To: herrmann.der.user, linux, jdelvare, lm-sensors, linux-kernel
Cc: boris.ostrovsky, Aravind Gopalakrishnan
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>
---
drivers/hwmon/fam15h_power.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hwmon/fam15h_power.c b/drivers/hwmon/fam15h_power.c
index 4ee0126..fcdbde4 100644
--- a/drivers/hwmon/fam15h_power.c
+++ b/drivers/hwmon/fam15h_power.c
@@ -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);
--
2.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V2 2/2] hwmon, fam15h_power: Add support for two more processors
2014-09-16 19:58 [PATCH V2 2/2] hwmon, fam15h_power: Add support for two more processors Aravind Gopalakrishnan
@ 2014-09-17 4:18 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2014-09-17 4:18 UTC (permalink / raw)
To: Aravind Gopalakrishnan, herrmann.der.user, jdelvare, lm-sensors,
linux-kernel
Cc: boris.ostrovsky
On 09/16/2014 12:58 PM, Aravind Gopalakrishnan wrote:
> 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>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-17 4:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-16 19:58 [PATCH V2 2/2] hwmon, fam15h_power: Add support for two more processors Aravind Gopalakrishnan
2014-09-17 4:18 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).