| Summary: | AMDTEMP.C Fixed to work on AMD GX-412TC SOC (Puma) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Chris <hotdogbsd> | ||||
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | CC: | amd64, douglas, jhb, loos | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | 10.1-RELEASE | ||||||
| Hardware: | amd64 | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Looks like this ID was added in r298270 and was merged to stable/10 after 10.3. |
Created attachment 166496 [details] 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 } };