summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2016-04-19 15:07:04 +0000
committerloos <loos@FreeBSD.org>2016-04-19 15:07:04 +0000
commitcf2857955cc43bf478bbb4716641d15ea01fa1a7 (patch)
treef0c6b711ec44f195fd2fd583ae048f59255f4d54
parent1d218a20c787e4a4292548a8207e790350de4700 (diff)
downloadFreeBSD-src-cf2857955cc43bf478bbb4716641d15ea01fa1a7.zip
FreeBSD-src-cf2857955cc43bf478bbb4716641d15ea01fa1a7.tar.gz
Add PCI ID for family 10h model 30h to amdtemp(4).
This adds support to CPU found in PC Engines APU2 series. MFC after: 3 weeks Sponsored by: Rubicon Communications (Netgate)
-rw-r--r--sys/dev/amdtemp/amdtemp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c
index 54f47ce..aa46661 100644
--- a/sys/dev/amdtemp/amdtemp.c
+++ b/sys/dev/amdtemp/amdtemp.c
@@ -80,6 +80,7 @@ struct amdtemp_softc {
#define DEVICEID_AMD_MISC14 0x1703
#define DEVICEID_AMD_MISC15 0x1603
#define DEVICEID_AMD_MISC16 0x1533
+#define DEVICEID_AMD_MISC16_M30H 0x1583
#define DEVICEID_AMD_MISC17 0x141d
static struct amdtemp_product {
@@ -93,6 +94,7 @@ static struct amdtemp_product {
{ VENDORID_AMD, DEVICEID_AMD_MISC14 },
{ VENDORID_AMD, DEVICEID_AMD_MISC15 },
{ VENDORID_AMD, DEVICEID_AMD_MISC16 },
+ { VENDORID_AMD, DEVICEID_AMD_MISC16_M30H },
{ VENDORID_AMD, DEVICEID_AMD_MISC17 },
{ 0, 0 }
};
OpenPOWER on IntegriCloud