asmc: Update Mac Pro 6 sensor definitions

- Make descriptions a bit more human-friendly.
- Don't attempt to probe fan safe speeds, this model does not provide
  one.

PR:		260781
MFC after:	2 weeks
This commit is contained in:
Adam S 2022-05-09 08:44:09 -04:00 committed by Mark Johnston
parent f224006fe1
commit dc484aed0a
2 changed files with 13 additions and 13 deletions

View file

@ -363,11 +363,11 @@ static const struct asmc_model asmc_models[] = {
ASMC_MP5_TEMPS, ASMC_MP5_TEMPNAMES, ASMC_MP5_TEMPDESCS
},
/* Idem for the MacPro 2013 (cylinder) */
/* Idem for the Mac Pro 2013 (cylinder) */
{
"MacPro6,1", "Apple SMC MacPro (2013)",
"MacPro6,1", "Apple SMC Mac Pro (2013)",
ASMC_SMS_FUNCS_DISABLED,
ASMC_FAN_FUNCS,
ASMC_FAN_FUNCS2,
ASMC_LIGHT_FUNCS_DISABLED,
ASMC_MP6_TEMPS, ASMC_MP6_TEMPNAMES, ASMC_MP6_TEMPDESCS
},

View file

@ -646,17 +646,17 @@ struct asmc_softc {
#define ASMC_MP6_TEMPS { "TA0P", "TA1P", "TC0P", "TG0D", "TG0P", \
"TG1D", "TG1P", "TM0P", "TM1P", NULL }
#define ASMC_MP6_TEMPNAMES { "AMBIENT_AIR_0", "AMBIENT_AIR_1", \
"CPU_0_PROXIMITY", "GPU_0_DIODE", \
"GPU_0_PROXIMITY", "GPU_1_DIODE", \
"GPU_1_PROXIMITY", "MEM_SLOTS_0_PROXIMITY", \
"MEM_SLOTS_1_PROXIMITY" }
#define ASMC_MP6_TEMPNAMES { "ambient_air_1", "ambient_air_2", \
"cpu_proximity", "gpu_diode_1", \
"gpu_proximity_1", "gpu_diode_2", \
"gpu_proximity_2", "mem_proximity_1", \
"mem_proximity_2" }
#define ASMC_MP6_TEMPDESCS { "Ambient Air 0", "Ambient Air 1", \
"CPU Proximity 0", "GPU Diode 0", \
"GPU Proximity 0", "GPU Diode 1", \
"GPU Proximity 1", "Memory Proximity 0", \
"Memory Proximity 1" }
#define ASMC_MP6_TEMPDESCS { "Ambient Air 1", "Ambient Air 2", \
"CPU Proximity", "GPU Diode 1", \
"GPU Proximity 1", "GPU Diode 2", \
"GPU Proximity 2", "Memory Bank A", \
"Memory Bank B" }
#define ASMC_MBA_TEMPS { "TB0T", NULL }
#define ASMC_MBA_TEMPNAMES { "enclosure" }