FreeBSD Bugzilla – Attachment 161793 Details for
Bug 203610
[patch][asmc] Patch for MacBookAir,5.2 to control backlight
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] asmc(4)
asmc.patch (text/plain), 1.59 KB, created by
Yuichiro NAITO
on 2015-10-07 11:20:27 UTC
(
hide
)
Description:
[patch] asmc(4)
Filename:
MIME Type:
Creator:
Yuichiro NAITO
Created:
2015-10-07 11:20:27 UTC
Size:
1.59 KB
patch
obsolete
>Index: sys/dev/asmc/asmc.c >=================================================================== >--- sys/dev/asmc/asmc.c (ãªãã¸ã§ã³ 287155) >+++ sys/dev/asmc/asmc.c (ä½æ¥ã³ãã¼) >@@ -136,11 +136,19 @@ > > #define ASMC_SMS_FUNCS asmc_mb_sysctl_sms_x, asmc_mb_sysctl_sms_y, \ > asmc_mb_sysctl_sms_z >+#define ASMC_SMS_FUNCS_DISABLED NULL,NULL,NULL > > #define ASMC_FAN_FUNCS asmc_mb_sysctl_fanid, asmc_mb_sysctl_fanspeed, asmc_mb_sysctl_fansafespeed, \ > asmc_mb_sysctl_fanminspeed, \ > asmc_mb_sysctl_fanmaxspeed, \ > asmc_mb_sysctl_fantargetspeed >+#define ASMC_FAN_FUNCS2 asmc_mb_sysctl_fanid, \ >+ asmc_mb_sysctl_fanspeed, \ >+ NULL, \ >+ asmc_mb_sysctl_fanminspeed, \ >+ asmc_mb_sysctl_fanmaxspeed, \ >+ asmc_mb_sysctl_fantargetspeed >+ > #define ASMC_LIGHT_FUNCS asmc_mbp_sysctl_light_left, \ > asmc_mbp_sysctl_light_right, \ > asmc_mbp_sysctl_light_control >@@ -259,6 +267,20 @@ > ASMC_SMS_FUNCS, ASMC_FAN_FUNCS, NULL, NULL, NULL, > ASMC_MBA3_TEMPS, ASMC_MBA3_TEMPNAMES, ASMC_MBA3_TEMPDESCS > }, >+ { >+ "MacBookAir5,1", "Apple SMC MacBook Air 11-inch (Late 2012)", >+ ASMC_SMS_FUNCS_DISABLED, >+ ASMC_FAN_FUNCS2, >+ ASMC_LIGHT_FUNCS, >+ ASMC_MBA3_TEMPS, ASMC_MBA3_TEMPNAMES, ASMC_MBA3_TEMPDESCS >+ }, >+ { >+ "MacBookAir5,2", "Apple SMC MacBook Air 13-inch (Late 2012)", >+ ASMC_SMS_FUNCS_DISABLED, >+ ASMC_FAN_FUNCS2, >+ ASMC_LIGHT_FUNCS, >+ ASMC_MBA3_TEMPS, ASMC_MBA3_TEMPNAMES, ASMC_MBA3_TEMPDESCS >+ }, > > > { NULL, NULL } >@@ -265,7 +287,9 @@ > }; > > #undef ASMC_SMS_FUNCS >+#undef ASMC_SMS_FUNCS_DISABLED > #undef ASMC_FAN_FUNCS >+#undef ASMC_FAN_FUNCS2 > #undef ASMC_LIGHT_FUNCS > > /*
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 203610
: 161793