From owner-freebsd-bugs@FreeBSD.ORG Sun Jan 13 13:00:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E20A4233 for ; Sun, 13 Jan 2013 13:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B15DA364 for ; Sun, 13 Jan 2013 13:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0DD00uS029261 for ; Sun, 13 Jan 2013 13:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0DD00Ec029256; Sun, 13 Jan 2013 13:00:00 GMT (envelope-from gnats) Resent-Date: Sun, 13 Jan 2013 13:00:00 GMT Resent-Message-Id: <201301131300.r0DD00Ec029256@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hon-Yu Lawrence Cheung Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3F8D01FB for ; Sun, 13 Jan 2013 12:58:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 30EC935D for ; Sun, 13 Jan 2013 12:58:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0DCwfM4083770 for ; Sun, 13 Jan 2013 12:58:41 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0DCwffB083769; Sun, 13 Jan 2013 12:58:41 GMT (envelope-from nobody) Message-Id: <201301131258.r0DCwffB083769@red.freebsd.org> Date: Sun, 13 Jan 2013 12:58:41 GMT From: Hon-Yu Lawrence Cheung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/175260: [asmc] add support to Macbook 3,1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2013 13:00:00 -0000 >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: