[Bug 206882] AMDTEMP.C Fixed to work on AMD GX-412TC SOC (Puma)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 3 14:32:15 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206882
Bug ID: 206882
Summary: AMDTEMP.C Fixed to work on AMD GX-412TC SOC (Puma)
Product: Base System
Version: 10.1-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: hotdogbsd at gmail.com
CC: freebsd-amd64 at FreeBSD.org
CC: freebsd-amd64 at FreeBSD.org
Created attachment 166496
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166496&action=edit
diff file for 10.1-release amdtemp.c cheers :)
G'day,
I've patched amdtemp.c to work on AMD GX-412TC SOC's (Puma).
It's a two line code fix that simply adds relevant ID's.
attached is the diff.
This patch applies to 10.2 and I assume 10.3 also.
--- amdtemp.c 2014-03-28 19:55:34.000000000 +1100
+++ amdtempnew.c 2016-01-31 04:49:12.000000000 +1100
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+__FBSDID("$FreeBSD: releng/10.1/sys/dev/amdtemp/amdtemp.c 263869 2014-03-28
08:55:34Z brueffer $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -80,6 +80,7 @@
#define DEVICEID_AMD_MISC14 0x1703
#define DEVICEID_AMD_MISC15 0x1603
#define DEVICEID_AMD_MISC16 0x1533
+#define DEVICEID_AMD_MISC16_X3 0X1583
static struct amdtemp_product {
uint16_t amdtemp_vendorid;
@@ -92,6 +93,7 @@
{ VENDORID_AMD, DEVICEID_AMD_MISC14 },
{ VENDORID_AMD, DEVICEID_AMD_MISC15 },
{ VENDORID_AMD, DEVICEID_AMD_MISC16 },
+ { VENDORID_AMD, DEVICEID_AMD_MISC16_X3 },
{ 0, 0 }
};
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-amd64
mailing list