Add support for AMD F16 M30h processor to k10temp driver

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.14 (GNU/Linux)
 
 iQIcBAABAgAGBQJTPXtfAAoJEMsfJm/On5mBAlIP/AiL0su9YmQQx3hIxr5fmuJn
 US4iK9zh4PrXBwFh68eBzGsEA6X+x7HlmuhJCJJ05TEi9ghiS3sSKiAxN+itq3nR
 t0P8V9JxSWr9oiUe1kqtLG6Conf0R2OBxxg2wcoZaWu/WQTlCSUPPZ/28qZyMOhQ
 0VghF9BpGWdpEsAHv4KmwdNV5DWtvf0WZ4K+OQiVMlZe2umyVNwe2CIEpWRuoa4m
 Ew0AwGd9YbhkdQwaq8hVB010Xsl6bvksP1Xh35UU+Ojj1CgUWlw8ESOzO8L2JWLB
 1LNfh3PTvFj4r1++q1owifN9UJ/UrGEmTVQDz2cZNKH0tkZDDO57M/beGkU3Gw2U
 2iBq6KHf1mpxY7FrNCYoNG1o/r2njv6D4gIF/3Evxe89df0Jz6DdHTWpmeT09euG
 NsXsmzNgMnSEyTTN7oTMIvLhAsCaz8MpKeHZu9Rj3q+OQ50CWIn5mL/NDNdT1YvX
 iC6HCFmPY2pKhmyXt8C/QtdbKEr9vVJ3xtb+q/dlX+08f0Us+O07p9bXSlxQBuAf
 0xJSXO5QLT37IFWKiuKXsCv6SFt2zHsxYT6m7U8eFdFIrPfTJnsRfLDU6C+ofqu+
 KzwBr/0R3rDEuAkddmVaW4aqgrgynJY67Q5Xw0WV+VXFRc9F/DRcHdQSlgLirW+r
 cy7rcEzTFzY2eIzWmWhZ
 =mGrO
 -----END PGP SIGNATURE-----

Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull second round of hwmon updates from Guenter Roeck:
 "Add support for AMD F16 M30h processor to k10temp driver.

  This adds one more patch which had secondary dependencies.  The branch
  point is arbitrary, but I did run a full set of build and qemu tests
  on it.  While there are some new build failures (6 out of 122 in my
  builds), none are due to this commit"

* tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  hwmon: (k10temp) Add support for AMD F16 M30h processor
This commit is contained in:
Linus Torvalds 2014-04-03 16:53:37 -07:00
commit 3cf59142bc
3 changed files with 6 additions and 5 deletions

View file

@ -11,8 +11,8 @@ Supported chips:
Socket S1G2: Athlon (X2), Sempron (X2), Turion X2 (Ultra)
* AMD Family 12h processors: "Llano" (E2/A4/A6/A8-Series)
* AMD Family 14h processors: "Brazos" (C/E/G/Z-Series)
* AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity"
* AMD Family 16h processors: "Kabini"
* AMD Family 15h processors: "Bulldozer" (FX-Series), "Trinity", "Kaveri"
* AMD Family 16h processors: "Kabini", "Mullins"
Prefix: 'k10temp'
Addresses scanned: PCI space
@ -46,7 +46,7 @@ Description
-----------
This driver permits reading of the internal temperature sensor of AMD
Family 10h/11h/12h/14h/15h processors.
Family 10h/11h/12h/14h/15h/16h processors.
All these processors have a sensor, but on those for Socket F or AM2+,
the sensor may return inconsistent values (erratum 319). The driver

View file

@ -280,8 +280,8 @@ config SENSORS_K10TEMP
If you say yes here you get support for the temperature
sensor(s) inside your CPU. Supported are later revisions of
the AMD Family 10h and all revisions of the AMD Family 11h,
12h (Llano), 14h (Brazos), 15h (Bulldozer/Trinity) and
16h (Kabini) microarchitectures.
12h (Llano), 14h (Brazos), 15h (Bulldozer/Trinity/Kaveri) and
16h (Kabini/Mullins) microarchitectures.
This driver can also be built as a module. If so, the module
will be called k10temp.

View file

@ -212,6 +212,7 @@ static const struct pci_device_id k10temp_id_table[] = {
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M10H_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M30H_NB_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F3) },
{}
};
MODULE_DEVICE_TABLE(pci, k10temp_id_table);