Page MenuHomeFreeBSD

D49929.id154254.diff
No OneTemporary

D49929.id154254.diff

diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -349,6 +349,24 @@
ASMC_MM52_TEMPS, ASMC_MM52_TEMPNAMES, ASMC_MM52_TEMPDESCS
},
+ /* The Mac Mini 6,1 has no SMS */
+ {
+ "Macmini6,1", "Apple SMC Mac Mini 6,1",
+ NULL, NULL, NULL,
+ ASMC_FAN_FUNCS2,
+ NULL, NULL, NULL,
+ ASMC_MM61_TEMPS, ASMC_MM61_TEMPNAMES, ASMC_MM61_TEMPDESCS
+ },
+
+ /* The Mac Mini 6,2 has no SMS */
+ {
+ "Macmini6,2", "Apple SMC Mac Mini 6,2",
+ NULL, NULL, NULL,
+ ASMC_FAN_FUNCS2,
+ NULL, NULL, NULL,
+ ASMC_MM62_TEMPS, ASMC_MM62_TEMPNAMES, ASMC_MM62_TEMPDESCS
+ },
+
/* The Mac Mini 7,1 has no SMS */
{
"Macmini7,1", "Apple SMC Mac Mini 7,1",
diff --git a/sys/dev/asmc/asmcvar.h b/sys/dev/asmc/asmcvar.h
--- a/sys/dev/asmc/asmcvar.h
+++ b/sys/dev/asmc/asmcvar.h
@@ -564,6 +564,68 @@
"Power Supply Temperature", \
"Wireless Module Proximity Temperature", }
+#define ASMC_MM61_TEMPS { "TA0P", "TA1P", \
+ "TC0D", "TC0G", "TC0P", "TCPG", \
+ "TI0P", \
+ "TM0S", "TMBS", "TM0P", \
+ "TP0P", "TPCD", \
+ "Tp0C", \
+ "TW0P", NULL }
+
+#define ASMC_MM61_TEMPNAMES { "ambient_air_proximity", "ambient_cpu_pch_wireless_dimm", \
+ "cpu_die", "TC0G", "cpu_proximity", "TCPG", \
+ "thunderbolt_proximity", \
+ "memory_slot1", "memory_slot2", "memory_proximity", \
+ "pch_controller_proximity", "pch_controller_die", \
+ "pwr_supply", \
+ "wireless_proximity", NULL }
+
+#define ASMC_MM61_TEMPDESCS { "Ambient Air Proximity Temperature", \
+ "Combo Ambient CPU PCH Wireless DIMM Temperature", \
+ "CPU Die Temperature", \
+ NULL, \
+ "CPU Proximity Temperature", \
+ NULL, \
+ "Thunderbolt Proximity Temperature", \
+ "Memory Slot 1 Temperature", \
+ "Memory Slot 2 Temperature", \
+ "Memory Slots Proximity Temperature", \
+ "Platform Controller Hub Proximity Temperature", \
+ "Platform Controller Hub Die Temperature", \
+ "Power Supply Temperature", \
+ "Wireless Module Proximity Temperature", NULL }
+
+#define ASMC_MM62_TEMPS { "TA0P", "TA1P", \
+ "TC0D", "TC0G", "TC0P", "TCPG", \
+ "TI0P", \
+ "TM0S", "TMBS", "TM0P", \
+ "TP0P", "TPCD", \
+ "Tp0C", \
+ "TW0P", NULL }
+
+#define ASMC_MM62_TEMPNAMES { "ambient_air_proximity", "ambient_cpu_pch_wireless_dimm", \
+ "cpu_die", "TC0G", "cpu_proximity", "TCPG", \
+ "thunderbolt_proximity", \
+ "memory_slot1", "memory_slot2", "memory_proximity", \
+ "pch_controller_proximity", "pch_controller_die", \
+ "pwr_supply", \
+ "wireless_proximity", NULL }
+
+#define ASMC_MM62_TEMPDESCS { "Ambient Air Proximity Temperature", \
+ "Combo Ambient CPU PCH Wireless DIMM Temperature", \
+ "CPU Die Temperature", \
+ NULL, \
+ "CPU Proximity Temperature", \
+ NULL, \
+ "Thunderbolt Proximity Temperature", \
+ "Memory Slot 1 Temperature", \
+ "Memory Slot 2 Temperature", \
+ "Memory Slots Proximity Temperature", \
+ "Platform Controller Hub Proximity Temperature", \
+ "Platform Controller Hub Die Temperature", \
+ "Power Supply Temperature", \
+ "Wireless Module Proximity Temperature", NULL }
+
#define ASMC_MM71_TEMPS { "TA0p", "TA1p", \
"TA2p", "TC0c", \
"TC0p", "TC1c", \

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 17, 1:53 AM (13 h, 49 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36779943
Default Alt Text
D49929.id154254.diff (3 KB)

Event Timeline