svn commit: r263869 - stable/10/sys/dev/amdtemp
Christian Brueffer
brueffer at FreeBSD.org
Fri Mar 28 08:55:34 UTC 2014
Author: brueffer
Date: Fri Mar 28 08:55:34 2014
New Revision: 263869
URL: http://svnweb.freebsd.org/changeset/base/263869
Log:
MFC: r263169
Add support for AMD Family 16h (Kabini) sensor devices.
PR: 186587
Submitted by: David Rufino <david.rufino at gmail.com>
Modified:
stable/10/sys/dev/amdtemp/amdtemp.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/amdtemp/amdtemp.c
==============================================================================
--- stable/10/sys/dev/amdtemp/amdtemp.c Fri Mar 28 08:23:39 2014 (r263868)
+++ stable/10/sys/dev/amdtemp/amdtemp.c Fri Mar 28 08:55:34 2014 (r263869)
@@ -79,6 +79,7 @@ struct amdtemp_softc {
#define DEVICEID_AMD_MISC12 0x1403
#define DEVICEID_AMD_MISC14 0x1703
#define DEVICEID_AMD_MISC15 0x1603
+#define DEVICEID_AMD_MISC16 0x1533
static struct amdtemp_product {
uint16_t amdtemp_vendorid;
@@ -90,6 +91,7 @@ static struct amdtemp_product {
{ VENDORID_AMD, DEVICEID_AMD_MISC12 },
{ VENDORID_AMD, DEVICEID_AMD_MISC14 },
{ VENDORID_AMD, DEVICEID_AMD_MISC15 },
+ { VENDORID_AMD, DEVICEID_AMD_MISC16 },
{ 0, 0 }
};
@@ -204,6 +206,7 @@ amdtemp_probe(device_t dev)
case 0x12:
case 0x14:
case 0x15:
+ case 0x16:
break;
default:
return (ENXIO);
@@ -327,6 +330,7 @@ amdtemp_attach(device_t dev)
case 0x12:
case 0x14:
case 0x15:
+ case 0x16:
/*
* There is only one sensor per package.
*/
More information about the svn-src-stable
mailing list