Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 12:58:41 GMT
From:      Hon-Yu Lawrence Cheung <cheunghonyu@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/175260: [asmc] add support to Macbook 3,1
Message-ID:  <201301131258.r0DCwffB083769@red.freebsd.org>
Resent-Message-ID: <201301131300.r0DD00Ec029256@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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