From nobody Sun Feb 15 02:12:17 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fD8Yf756Pz6RLpg for ; Sun, 15 Feb 2026 02:12:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fD8Yf6S3Kz3TtK for ; Sun, 15 Feb 2026 02:12:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771121542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TI4+f4kOQamSttzjVWcV2VrCXO0Feg3cjhTbt/5uSJE=; b=N3pkVljE4j8CCrUUdQH/Ud9ZdiPSAEAPwL1f2csY0x05iLAGhzrgIPdOfDYPgalzCMhI2W dn7fEpPoVjYr2xdgTxvDdweTeMJVA8XjbG2xxS1JHKhhgx6f5EYftyKdS6RL9XmLOTzJlR KUObnJG0xbkaGQ4hk0GIMN5MUk0iFZzC9lE+XVfOtyG0k0DzUZRSFCTxZJ9Mnq/P2vGTvG CHHebBMJ7nHHuXBkygha5n4ttKsfxwH49idIFh/wKq2JFVUDzUdOWkcMPolfe+bow0QL4V ++B8pxHoAUvnujtHcmfKypVyiconEJhEFevYPg2YHRC0lrPTManh0A/sX+S+VQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1771121542; a=rsa-sha256; cv=none; b=TFWgLGT4JXLka8QxRr7tW9T2/GCazcyMOq8eZsVR5xis1wyzfvqoQ8D7eKrhozv4GMWSUZ 0tVnFM3RdIKbdFLk/qcFgBXvpq/mcwZ9Y8PQBkQoI9jGMB2BjY/CEmwZVokWNujAF6qnk6 s3Jq8u2UDUo6HYao5Ztoo2/57ZO2NFisLeI8ufcq22OEhrJMjWtJkN7PnqJlasghCAxm7K 5kjeAimlL27LujsweqwzfKEZMBlbeXVmYuTSdqW44HAnkm9aqwX8h8hfG7oEu/2yzic8tn nYuq9kZzFAM8jxb3ZCyUPtCqv4E0YgMbtFpPah8bMspONTWEKX8MRReWndA0LQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771121542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TI4+f4kOQamSttzjVWcV2VrCXO0Feg3cjhTbt/5uSJE=; b=b9o71NM39wH1UWydeIvQiM3K0V5XFIdHK7GVxY/yDnrU0kysvqg0IFPt4uDvCe7PJuds57 5OsPUMUlade6WszSpX488f99gjYmHTwsHu7f2tGfgefQrmwOT+4m9nX/QWlIIiSHon7x/Q BgFpmHCInA9pvoDBk6R2W7CtsrtiMrJB62WZN+Co181bU7pY3MvntpotXx/1RxwdeORqRN YTDtapssyNufDEq3Eh77xGUBWn7XZo18NwEsojsb+kqSHHFFEuIsdekJdLq7R9ms6DrOwl HHx+QxrOz+W1q8mVEFjUL2dVHjAn2XU24Sizbh+1yEEOAaPf8qe/1Z56z8XTDg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fD8Yf63fKzZhx for ; Sun, 15 Feb 2026 02:12:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 4239a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 15 Feb 2026 02:12:17 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Abdelkader Boudih From: Adrian Chadd Subject: git: 90d79dd54946 - main - asmc: Add MacPro3,1 temperature sensor support List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 90d79dd549461dac053b34d47ae32968afb2834c Auto-Submitted: auto-generated Date: Sun, 15 Feb 2026 02:12:17 +0000 Message-Id: <69912b81.4239a.2462f547@gitrepo.freebsd.org> The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=90d79dd549461dac053b34d47ae32968afb2834c commit 90d79dd549461dac053b34d47ae32968afb2834c Author: Abdelkader Boudih AuthorDate: 2026-02-15 01:44:50 +0000 Commit: Adrian Chadd CommitDate: 2026-02-15 01:45:10 +0000 asmc: Add MacPro3,1 temperature sensor support Test and verified with Sonicblue7 Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D54952 --- sys/dev/asmc/asmc.c | 9 +++++++ sys/dev/asmc/asmcvar.h | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c index c0ff555b7b65..ef924ba8ba76 100644 --- a/sys/dev/asmc/asmc.c +++ b/sys/dev/asmc/asmc.c @@ -395,6 +395,15 @@ static const struct asmc_model asmc_models[] = { ASMC_MP1_TEMPS, ASMC_MP1_TEMPNAMES, ASMC_MP1_TEMPDESCS }, + /* Idem for the Mac Pro (Early 2008) */ + { + "MacPro3,1", "Apple SMC Mac Pro (Early 2008)", + NULL, NULL, NULL, + ASMC_FAN_FUNCS, + NULL, NULL, NULL, + ASMC_MP31_TEMPS, ASMC_MP31_TEMPNAMES, ASMC_MP31_TEMPDESCS + }, + /* Idem for the Mac Pro (8-core) */ { "MacPro2", "Apple SMC Mac Pro (8-core)", diff --git a/sys/dev/asmc/asmcvar.h b/sys/dev/asmc/asmcvar.h index 102bee8a15b7..a6e9c75017e0 100644 --- a/sys/dev/asmc/asmcvar.h +++ b/sys/dev/asmc/asmcvar.h @@ -756,6 +756,75 @@ struct asmc_softc { "Power Supply, Location 2", \ "Tv0S", "Tv1S", } +#define ASMC_MP31_TEMPS { "TA0P", \ + "TC0C", "TC0D", "TC0P", \ + "TC1C", "TC1D", \ + "TC2C", "TC2D", \ + "TC3C", "TC3D", \ + "TCAG", "TCAH", "TCBG", "TCBH", \ + "TH0P", "TH1P", "TH2P", "TH3P", \ + "TM0P", "TM0S", "TM1P", "TM1S", \ + "TM2P", "TM2S", "TM3S", \ + "TM8P", "TM8S", "TM9P", "TM9S", \ + "TMAP", "TMAS", "TMBS", \ + "TN0C", "TN0D", "TN0H", \ + "TS0C", \ + "Tp0C", "Tp1C", \ + "Tv0S", "Tv1S", NULL } + +#define ASMC_MP31_TEMPNAMES { "ambient", \ + "cpu_core0", "cpu_diode0", "cpu_a_proximity", \ + "cpu_core1", "cpu_diode1", \ + "cpu_core2", "cpu_diode2", \ + "cpu_core3", "cpu_diode3", \ + "cpu_a_pkg", "cpu_a_heatsink", \ + "cpu_b_pkg", "cpu_b_heatsink", \ + "hdd_bay0", "hdd_bay1", \ + "hdd_bay2", "hdd_bay3", \ + "mem_riser_a_prox0", "mem_riser_a_slot0", \ + "mem_riser_a_prox1", "mem_riser_a_slot1", \ + "mem_riser_a_prox2", "mem_riser_a_slot2", \ + "mem_riser_a_slot3", \ + "mem_riser_b_prox0", "mem_riser_b_slot0", \ + "mem_riser_b_prox1", "mem_riser_b_slot1", \ + "mem_riser_b_prox2", "mem_riser_b_slot2", \ + "mem_riser_b_slot3", \ + "northbridge_core", "northbridge_diode", \ + "northbridge_heatsink", \ + "expansion_slots", \ + "power_supply0", "power_supply1", \ + "vrm0", "vrm1", } + +#define ASMC_MP31_TEMPDESCS { "Ambient Air", \ + "CPU Core 1", "CPU Diode 1", \ + "CPU A Proximity", \ + "CPU Core 2", "CPU Diode 2", \ + "CPU Core 3", "CPU Diode 3", \ + "CPU Core 4", "CPU Diode 4", \ + "CPU A Package", "CPU A Heatsink", \ + "CPU B Package", "CPU B Heatsink", \ + "Hard Drive Bay 1", "Hard Drive Bay 2", \ + "Hard Drive Bay 3", "Hard Drive Bay 4", \ + "Memory Riser A, Proximity 1", \ + "Memory Riser A, Slot 1", \ + "Memory Riser A, Proximity 2", \ + "Memory Riser A, Slot 2", \ + "Memory Riser A, Proximity 3", \ + "Memory Riser A, Slot 3", \ + "Memory Riser A, Slot 4", \ + "Memory Riser B, Proximity 1", \ + "Memory Riser B, Slot 1", \ + "Memory Riser B, Proximity 2", \ + "Memory Riser B, Slot 2", \ + "Memory Riser B, Proximity 3", \ + "Memory Riser B, Slot 3", \ + "Memory Riser B, Slot 4", \ + "Northbridge Core", "Northbridge Diode", \ + "Northbridge Heatsink", \ + "Expansion Slots", \ + "Power Supply 1", "Power Supply 2", \ + "VRM 1", "VRM 2", } + #define ASMC_MP2_TEMPS { "TA0P", "TCAG", "TCAH", "TCBG", "TCBH", \ "TC0C", "TC0D", "TC0P", "TC1C", "TC1D", \ "TC2C", "TC2D", "TC3C", "TC3D", "THTG", \