diff options
Diffstat (limited to 'sys/dev/asmc')
-rw-r--r-- | sys/dev/asmc/asmc.c | 7 | ||||
-rw-r--r-- | sys/dev/asmc/asmcvar.h | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c index ceab6cf..e5d18e4 100644 --- a/sys/dev/asmc/asmc.c +++ b/sys/dev/asmc/asmc.c @@ -197,6 +197,13 @@ struct asmc_model asmc_models[] = { NULL, NULL, ASMC_MP_TEMPS, ASMC_MP_TEMPNAMES, ASMC_MP_TEMPDESCS }, + + { + "MacBookAir1,1", "Apple SMC MacBook Air", + ASMC_SMS_FUNCS, ASMC_FAN_FUNCS, NULL, NULL, + ASMC_MBA_TEMPS, ASMC_MBA_TEMPNAMES, ASMC_MBA_TEMPDESCS + }, + { NULL, NULL } }; diff --git a/sys/dev/asmc/asmcvar.h b/sys/dev/asmc/asmcvar.h index 0d169a1..40c347f 100644 --- a/sys/dev/asmc/asmcvar.h +++ b/sys/dev/asmc/asmcvar.h @@ -126,8 +126,8 @@ struct asmc_softc { /* * Temperatures. * - * First for MacBook, second for MacBook Pro, third for Intel Mac Mini and - * last Mac Pro 8-core. + * First for MacBook, second for MacBook Pro, third for Intel Mac Mini, + * fourth the Mac Pro 8-core and finally the MacBook Air. * */ /* maximum array size for temperatures including the last NULL */ @@ -186,3 +186,7 @@ struct asmc_softc { "TM1S", "TM2P", "TM2S", "TM3S", "TM8P", \ "TM8S", "TM9P", "TM9S", "TN0H", "TS0C", \ NULL } + +#define ASMC_MBA_TEMPS { "TB0T", NULL } +#define ASMC_MBA_TEMPNAMES { "enclosure" } +#define ASMC_MBA_TEMPDESCS { "Enclosure Bottom" } |