summaryrefslogtreecommitdiffstats
path: root/sys/dev/amdtemp
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2014-03-28 08:55:34 +0000
committerbrueffer <brueffer@FreeBSD.org>2014-03-28 08:55:34 +0000
commita44c2eaca9720203accafbc71e18fafe1cf9377a (patch)
tree35f707f3101f9403c8ed0213190386c87aca28ad /sys/dev/amdtemp
parent02202f1ec490f16d60e0bb0e45b35f4a3bfa8d00 (diff)
downloadFreeBSD-src-a44c2eaca9720203accafbc71e18fafe1cf9377a.zip
FreeBSD-src-a44c2eaca9720203accafbc71e18fafe1cf9377a.tar.gz
MFC: r263169
Add support for AMD Family 16h (Kabini) sensor devices. PR: 186587 Submitted by: David Rufino <david.rufino at gmail.com>
Diffstat (limited to 'sys/dev/amdtemp')
-rw-r--r--sys/dev/amdtemp/amdtemp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c
index 553545b..48a4c1d 100644
--- a/sys/dev/amdtemp/amdtemp.c
+++ b/sys/dev/amdtemp/amdtemp.c
@@ -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.
*/
OpenPOWER on IntegriCloud