FreeBSD Bugzilla – Attachment 200044 Details for
Bug 217505
[asmc] [patch] Add Support for Macbook Pro 8,1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
asmc-mbp81.patch
file_217505.txt (text/plain), 3.54 KB, created by
Maciej Pasternacki
on 2018-12-11 16:17:09 UTC
(
hide
)
Description:
asmc-mbp81.patch
Filename:
MIME Type:
Creator:
Maciej Pasternacki
Created:
2018-12-11 16:17:09 UTC
Size:
3.54 KB
patch
obsolete
>Index: asmc.c >=================================================================== >--- asmc.c (revision 341341) >+++ asmc.c (working copy) >@@ -219,9 +219,15 @@ > }, > > { >+ "MacBookPro8,1", "Apple SMC MacBook Pro (early 2011, 13-inch)", >+ ASMC_SMS_FUNCS_DISABLED, ASMC_FAN_FUNCS2, ASMC_LIGHT_FUNCS, >+ ASMC_MBP81_TEMPS, ASMC_MBP81_TEMPNAMES, ASMC_MBP81_TEMPDESCS >+ }, >+ >+ { > "MacBookPro8,2", "Apple SMC MacBook Pro (early 2011)", > ASMC_SMS_FUNCS, ASMC_FAN_FUNCS, ASMC_LIGHT_FUNCS, >- ASMC_MBP8_TEMPS, ASMC_MBP8_TEMPNAMES, ASMC_MBP8_TEMPDESCS >+ ASMC_MBP82_TEMPS, ASMC_MBP82_TEMPNAMES, ASMC_MBP82_TEMPDESCS > }, > > { >Index: asmcvar.h >=================================================================== >--- asmcvar.h (revision 341341) >+++ asmcvar.h (working copy) >@@ -218,14 +218,32 @@ > "Heatsink 2", "Memory Controller", \ > "PCI Express Slot Pin", "PCI Express Slot (unk)" } > >-#define ASMC_MBP8_TEMPS { "TB0T", "TB1T", "TB2T", "TC0C", "TC0D", \ >+#define ASMC_MBP81_TEMPS { "TB0T", "TB1T", "TB2T", "TC0C", "TC0D", \ > "TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ >+ "TCFC", "TCGC", "TCSA", "TM0S", "TMBS", \ >+ "TP0P", "TPCD", "TW0P", "Th1H", "Ts0P", \ >+ "Ts0S", NULL } >+ >+#define ASMC_MBP81_TEMPNAMES { "enclosure", "TB1T", "TB2T", "TC0C", "TC0D", \ >+ "TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ >+ "TCFC", "TCGC", "TCSA", "TM0S", "TMBS", \ >+ "TP0P", "TPCD", "wireless", "Th1H", "Ts0P", \ >+ "Ts0S" } >+ >+#define ASMC_MBP81_TEMPDESCS { "Enclosure Bottomside", "TB1T", "TB2T", "TC0C", "TC0D", \ >+ "TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ >+ "TCFC", "TCGC", "TCSA", "TM0S", "TMBS", \ >+ "TP0P", "TPCD", "TW0P", "Th1H", "Ts0P", \ >+ "Ts0S" } >+ >+#define ASMC_MBP82_TEMPS { "TB0T", "TB1T", "TB2T", "TC0C", "TC0D", \ >+ "TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ > "TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ > "TCTD", "TG0D", "TG0P", "THSP", "TM0S", \ > "TMBS", "TP0P", "TPCD", "TW0P", "Th1H", \ > "Th2H", "Tm0P", "Ts0P", "Ts0S", NULL } > >-#define ASMC_MBP8_TEMPNAMES { "enclosure", "TB1T", "TB2T", "TC0C", "TC0D", \ >+#define ASMC_MBP82_TEMPNAMES { "enclosure", "TB1T", "TB2T", "TC0C", "TC0D", \ > "TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ > "TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ > "TCTD", "graphics", "TG0P", "THSP", "TM0S", \ >@@ -232,7 +250,7 @@ > "TMBS", "TP0P", "TPCD", "wireless", "Th1H", \ > "Th2H", "memory", "Ts0P", "Ts0S" } > >-#define ASMC_MBP8_TEMPDESCS { "Enclosure Bottomside", "TB1T", "TB2T", "TC0C", "TC0D", \ >+#define ASMC_MBP82_TEMPDESCS { "Enclosure Bottomside", "TB1T", "TB2T", "TC0C", "TC0D", \ > "TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ > "TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ > "TCTD", "TG0D", "TG0P", "THSP", "TM0S", \
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 217505
:
180448
| 200044