Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2014 08:58:51 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r263870 - stable/9/sys/dev/amdtemp
Message-ID:  <201403280858.s2S8wpSu075600@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Fri Mar 28 08:58:51 2014
New Revision: 263870
URL: http://svnweb.freebsd.org/changeset/base/263870

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/9/sys/dev/amdtemp/amdtemp.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/amdtemp/amdtemp.c
==============================================================================
--- stable/9/sys/dev/amdtemp/amdtemp.c	Fri Mar 28 08:55:34 2014	(r263869)
+++ stable/9/sys/dev/amdtemp/amdtemp.c	Fri Mar 28 08:58:51 2014	(r263870)
@@ -76,6 +76,7 @@ struct amdtemp_softc {
 #define	DEVICEID_AMD_MISC0F	0x1103
 #define	DEVICEID_AMD_MISC10	0x1203
 #define	DEVICEID_AMD_MISC11	0x1303
+#define	DEVICEID_AMD_MISC16	0x1533
 
 static struct amdtemp_product {
 	uint16_t	amdtemp_vendorid;
@@ -84,6 +85,7 @@ static struct amdtemp_product {
 	{ VENDORID_AMD,	DEVICEID_AMD_MISC0F },
 	{ VENDORID_AMD,	DEVICEID_AMD_MISC10 },
 	{ VENDORID_AMD,	DEVICEID_AMD_MISC11 },
+	{ VENDORID_AMD,	DEVICEID_AMD_MISC16 },
 	{ 0, 0 }
 };
 
@@ -189,6 +191,7 @@ amdtemp_probe(device_t dev)
 		break;
 	case 0x10:
 	case 0x11:
+	case 0x16:
 		break;
 	default:
 		return (ENXIO);
@@ -274,6 +277,7 @@ amdtemp_attach(device_t dev)
 		break;
 	case 0x10:
 	case 0x11:
+	case 0x16:
 		/*
 		 * There is only one sensor per package.
 		 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403280858.s2S8wpSu075600>