FreeBSD Bugzilla – Attachment 198702 Details for
Bug 226172
[asmc] [patch] Add Support for MacBookAir 7,1 and 7,2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add MacBookAir 7,1 and 7,2 to asmc
asmc.diff (text/plain), 2.53 KB, created by
James Wright
on 2018-10-27 23:36:27 UTC
(
hide
)
Description:
Patch to add MacBookAir 7,1 and 7,2 to asmc
Filename:
MIME Type:
Creator:
James Wright
Created:
2018-10-27 23:36:27 UTC
Size:
2.53 KB
patch
obsolete
>Index: sys/dev/asmc/asmc.c >=================================================================== >--- sys/dev/asmc/asmc.c (revision 339826) >+++ sys/dev/asmc/asmc.c (working copy) >@@ -300,7 +300,22 @@ > ASMC_MBA5_TEMPS, ASMC_MBA5_TEMPNAMES, ASMC_MBA5_TEMPDESCS > }, > >+ { >+ "MacBookAir7,1", "Apple SMC MacBook Air 11-inch (Early 2015)", >+ ASMC_SMS_FUNCS_DISABLED, >+ ASMC_FAN_FUNCS2, >+ ASMC_LIGHT_FUNCS, >+ ASMC_MBA7_TEMPS, ASMC_MBA7_TEMPNAMES, ASMC_MBA7_TEMPDESCS >+ }, > >+ { >+ "MacBookAir7,2", "Apple SMC MacBook Air 13-inch (Early 2015)", >+ ASMC_SMS_FUNCS_DISABLED, >+ ASMC_FAN_FUNCS2, >+ ASMC_LIGHT_FUNCS, >+ ASMC_MBA7_TEMPS, ASMC_MBA7_TEMPNAMES, ASMC_MBA7_TEMPDESCS >+ }, >+ > { NULL, NULL } > }; > >Index: sys/dev/asmc/asmcvar.h >=================================================================== >--- sys/dev/asmc/asmcvar.h (revision 339826) >+++ sys/dev/asmc/asmcvar.h (working copy) >@@ -428,3 +428,27 @@ > "TCXC", "THSP", "Memory Bank A", "PCH Die", \ > "Ta0P", "Heatpipe", "Mainboard Proximity 1", "Mainboard Proximity 2", \ > "Palm Rest", "Memory Proximity" } >+ >+#define ASMC_MBA7_TEMPS { "TB0T", "TB1T", "TB2T", \ >+ "TC0E", "TC0F", "TC0P", \ >+ "TC1C", "TC2C", \ >+ "TCGC", "TCSA", "TCXC", \ >+ "THSP", "TM0P", "TPCD", \ >+ "TW0P" "Ta0P", "Th1H", \ >+ "Tm0P", "Ts0P", "Ts0S", NULL } >+ >+#define ASMC_MBA7_TEMPNAMES { "enclosure1", "enclosure2", "enclosure3", \ >+ "cputemp1", "cputemp2", "cpuproximity", \ >+ "cpucore1", "cpucore2", \ >+ "pecigpu", "pecisa", "pecicpu", \ >+ "thunderboltproximity", "memorybank", "pchdie", \ >+ "wirelessproximity", "airflowproximity", "heatpipe", \ >+ "mainboardproximity", "palmrest", "memoryproximity" } >+ >+#define ASMC_MBA7_TEMPDESCS { "Enclosure Bottom 1", "Enclosure Bottom 2", "Enclosure Bottom 3", \ >+ "CPU Temp 1", "CPU Temp 2", "CPU Proximity", \ >+ "CPU Core 1", "CPU Core 2", \ >+ "PECI GPU", "PECI SA", "PECI CPU", \ >+ "Thunderbolt Proximity", "Memory Bank A", "PCH Die", \ >+ "Wireless Proximity", "Airflow Proxmity", "Heatpipe", \ >+ "Mainboard Proximity", "Palm Rest", "Memory Proximity" }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226172
:
190959
| 198702