Add support for MacBook Air. (not tested)
Obtained from: mactel-linux
This commit is contained in:
parent
9dee707cf0
commit
941f9f10b2
@ -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 }
|
||||
};
|
||||
|
@ -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" }
|
||||
|
Loading…
Reference in New Issue
Block a user