svn commit: r298270 - head/sys/dev/amdtemp

Luiz Otavio O Souza loos at FreeBSD.org
Tue Apr 19 15:07:06 UTC 2016


Author: loos
Date: Tue Apr 19 15:07:04 2016
New Revision: 298270
URL: https://svnweb.freebsd.org/changeset/base/298270

Log:
  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)

Modified:
  head/sys/dev/amdtemp/amdtemp.c

Modified: head/sys/dev/amdtemp/amdtemp.c
==============================================================================
--- head/sys/dev/amdtemp/amdtemp.c	Tue Apr 19 14:47:08 2016	(r298269)
+++ head/sys/dev/amdtemp/amdtemp.c	Tue Apr 19 15:07:04 2016	(r298270)
@@ -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 }
 };


More information about the svn-src-all mailing list