FreeBSD Bugzilla – Attachment 230522 Details for
Bug 260781
asmc(4): Add support for MacPro 6,1 (2013)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
macpro6,1 patch for asmc
macpro61smc.patch (text/plain), 1.54 KB, created by
Adam S.
on 2021-12-29 06:48:15 UTC
(
hide
)
Description:
macpro6,1 patch for asmc
Filename:
MIME Type:
Creator:
Adam S.
Created:
2021-12-29 06:48:15 UTC
Size:
1.54 KB
patch
obsolete
>diff -u original/asmc.c my-patch/asmc.c >--- original/asmc.c 2021-12-28 23:43:20.905442244 -0600 >+++ my-patch/asmc.c 2021-12-29 00:10:38.424770226 -0600 >@@ -328,6 +328,15 @@ > ASMC_MP5_TEMPS, ASMC_MP5_TEMPNAMES, ASMC_MP5_TEMPDESCS > }, > >+ /* Idem for the MacPro 2013 (cylinder) */ >+ { >+ "MacPro6,1", "Apple SMC MacPro (2013)", >+ ASMC_SMS_FUNCS_DISABLED, >+ ASMC_FAN_FUNCS, >+ ASMC_LIGHT_FUNCS_DISABLED, >+ ASMC_MP6_TEMPS, ASMC_MP6_TEMPNAMES, ASMC_MP6_TEMPDESCS >+ }, >+ > { > "MacBookAir1,1", "Apple SMC MacBook Air", > ASMC_SMS_FUNCS, ASMC_FAN_FUNCS, NULL, NULL, NULL, >diff -u original/asmcvar.h my-patch/asmcvar.h >--- original/asmcvar.h 2021-12-28 23:43:12.163365462 -0600 >+++ my-patch/asmcvar.h 2021-12-29 00:11:36.207227372 -0600 >@@ -581,6 +581,18 @@ > "Te3F", "Te3S", "Te4F", "Te4S", "Te5F", \ > "Te5S", "TeGG", "TeGP", "TeRG", "TeRP", \ > "TeRV", "Tp0C", "Tp1C", "TpPS", "TpTG", } >+ >+#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_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_MBA_TEMPS { "TB0T", NULL } > #define ASMC_MBA_TEMPNAMES { "enclosure" } > #define ASMC_MBA_TEMPDESCS { "Enclosure Bottom" }
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 260781
:
230522
|
233817