Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166743197
D49929.id154254.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D49929.id154254.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D49929: asmc: Add support for macmini 6,1 and 6,2 (late 2012) models
Attached
Detach File
Event Timeline
Log In to Comment