View | Details | Raw Unified | Return to bug 226172 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/src/sys/dev/asmc/asmc.c (+15 lines)
Lines 305-311 Link Here
305
	  ASMC_MBA5_TEMPS, ASMC_MBA5_TEMPNAMES, ASMC_MBA5_TEMPDESCS
305
	  ASMC_MBA5_TEMPS, ASMC_MBA5_TEMPNAMES, ASMC_MBA5_TEMPDESCS
306
	},
306
	},
307
307
308
	{
309
	  "MacBookAir7,1", "Apple SMC MacBook Air 11-inch (Early 2015)",
310
	  ASMC_SMS_FUNCS_DISABLED,
311
	  ASMC_FAN_FUNCS2,
312
	  ASMC_LIGHT_FUNCS,
313
	  ASMC_MBA7_TEMPS, ASMC_MBA7_TEMPNAMES, ASMC_MBA7_TEMPDESCS
314
	},
308
315
316
	{
317
	  "MacBookAir7,2", "Apple SMC MacBook Air 13-inch (Early 2015)",
318
	  ASMC_SMS_FUNCS_DISABLED,
319
	  ASMC_FAN_FUNCS2,
320
	  ASMC_LIGHT_FUNCS,
321
	  ASMC_MBA7_TEMPS, ASMC_MBA7_TEMPNAMES, ASMC_MBA7_TEMPDESCS
322
	},
323
309
	{ NULL, NULL }
324
	{ NULL, NULL }
310
};
325
};
311
326
(-)/usr/src/sys/dev/asmc/asmcvar.h (+24 lines)
Lines 428-430 Link Here
428
	                          "TCXC", "THSP", "Memory Bank A", "PCH Die", \
428
	                          "TCXC", "THSP", "Memory Bank A", "PCH Die", \
429
	                          "Ta0P", "Heatpipe", "Mainboard Proximity 1", "Mainboard Proximity 2", \
429
	                          "Ta0P", "Heatpipe", "Mainboard Proximity 1", "Mainboard Proximity 2", \
430
	                          "Palm Rest", "Memory Proximity" }
430
	                          "Palm Rest", "Memory Proximity" }
431
432
#define	ASMC_MBA7_TEMPS		{ "TB0T", "TB1T", "TB2T", \
433
                         	  "TC0E", "TC0F", "TC0P", \
434
	                          "TC1C", "TC2C", \
435
	                          "TCGC", "TCSA", "TCXC", \
436
	                          "THSP", "TM0P", "TPCD", \
437
	                          "TW0P" "Ta0P", "Th1H", \
438
	                          "Tm0P", "Ts0P", "Ts0S", NULL }
439
440
#define	ASMC_MBA7_TEMPNAMES	{ "enclosure1", "enclosure2", "enclosure3", \
441
	                          "cputemp1", "cputemp2", "cpuproximity", \
442
	                          "cpucore1", "cpucore2", \
443
	                          "pecigpu", "pecisa", "pecicpu", \
444
	                          "thunderboltproximity", "memorybank", "pchdie", \
445
	                          "wirelessproximity", "airflowproximity", "heatpipe", \
446
	                          "mainboardproximity", "palmrest", "memoryproximity" }
447
448
#define	ASMC_MBA7_TEMPDESCS	{ "Enclosure Bottom 1", "Enclosure Bottom 2", "Enclosure Bottom 3", \
449
	                          "CPU Temp 1", "CPU Temp 2", "CPU Proximity", \
450
	                          "CPU Core 1", "CPU Core 2", \
451
	                          "PECI GPU", "PECI SA", "PECI CPU", \
452
	                          "Thunderbolt Proximity", "Memory Bank A", "PCH Die", \
453
	                          "Wireless Proximity", "Airflow Proxmity", "Heatpipe", \
454
	                          "Mainboard Proximity", "Palm Rest", "Memory Proximity" }

Return to bug 226172