kern/175260: [asmc] add support to Macbook 3,1
Hon-Yu Lawrence Cheung
cheunghonyu at gmail.com
Sun Jan 13 13:00:00 UTC 2013
>Number: 175260
>Category: kern
>Synopsis: [asmc] add support to Macbook 3,1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 13 13:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Hon-Yu Lawrence Cheung
>Release: FreeBSD 9.1-RELEASE
>Organization:
>Environment:
FreeBSD mac.honyucheung.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Sun Jan 13 16:08:44 HKT 2013 root at mac.honyucheung.net:/usr/obj/usr/src/sys/MACBOOK31 amd64
>Description:
asmc(4) add support Macbook 3,1
>How-To-Repeat:
>Fix:
apply the patch.txt
Patch attached with submission follows:
--- asmcvar.h.original 2013-01-13 07:54:15.000000000 +0800
+++ asmcvar.h 2013-01-13 08:00:26.000000000 +0800
@@ -141,10 +141,22 @@
#define ASMC_MB_TEMPDESCS { "Enclosure Bottomside", \
"Northbridge Point 1", \
"Northbridge Point 2", "Heatsink 1", \
"Heatsink 2", "Memory Bank A", }
+#define ASMC_MB31_TEMPS { "TB0T", "TN0P", "Th0H", "Th1H", \
+ "TM0P", NULL }
+
+#define ASMC_MB31_TEMPNAMES { "enclosure", "northbridge1", \
+ "heatsink1", "heatsink2", \
+ "memory", }
+
+#define ASMC_MB31_TEMPDESCS { "Enclosure Bottomside", \
+ "Northbridge Point 1", \
+ "Heatsink 1","Heatsink 2" \
+ "Memory Bank A", }
+
#define ASMC_MBP_TEMPS { "TB0T", "Th0H", "Th1H", "Tm0P", \
"TG0H", "TG0P", "TG0T", NULL }
#define ASMC_MBP_TEMPNAMES { "enclosure", "heatsink1", \
"heatsink2", "memory", "graphics", \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list