Date: Wed, 03 Feb 2016 14:32:15 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 206882] AMDTEMP.C Fixed to work on AMD GX-412TC SOC (Puma) Message-ID: <bug-206882-6@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206882 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@FreeBSD.org Reporter: hotdogbsd@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 166496 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166496&action= =3Dedit 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.=20 attached is the diff. This patch applies to 10.2 and I assume 10.3 also.=20 --- 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 } }; --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206882-6>