View | Details | Raw Unified | Return to bug 203610
Collapse All | Expand All

(-)sys/dev/asmc/asmc.c (+24 lines)
Lines 136-146 Link Here
136
136
137
#define ASMC_SMS_FUNCS	asmc_mb_sysctl_sms_x, asmc_mb_sysctl_sms_y, \
137
#define ASMC_SMS_FUNCS	asmc_mb_sysctl_sms_x, asmc_mb_sysctl_sms_y, \
138
			asmc_mb_sysctl_sms_z
138
			asmc_mb_sysctl_sms_z
139
#define ASMC_SMS_FUNCS_DISABLED NULL,NULL,NULL
139
140
140
#define ASMC_FAN_FUNCS	asmc_mb_sysctl_fanid, asmc_mb_sysctl_fanspeed, asmc_mb_sysctl_fansafespeed, \
141
#define ASMC_FAN_FUNCS	asmc_mb_sysctl_fanid, asmc_mb_sysctl_fanspeed, asmc_mb_sysctl_fansafespeed, \
141
			asmc_mb_sysctl_fanminspeed, \
142
			asmc_mb_sysctl_fanminspeed, \
142
			asmc_mb_sysctl_fanmaxspeed, \
143
			asmc_mb_sysctl_fanmaxspeed, \
143
			asmc_mb_sysctl_fantargetspeed
144
			asmc_mb_sysctl_fantargetspeed
145
#define ASMC_FAN_FUNCS2 asmc_mb_sysctl_fanid, \
146
			asmc_mb_sysctl_fanspeed, \
147
			NULL, \
148
			asmc_mb_sysctl_fanminspeed, \
149
			asmc_mb_sysctl_fanmaxspeed, \
150
			asmc_mb_sysctl_fantargetspeed
151
144
#define ASMC_LIGHT_FUNCS asmc_mbp_sysctl_light_left, \
152
#define ASMC_LIGHT_FUNCS asmc_mbp_sysctl_light_left, \
145
			 asmc_mbp_sysctl_light_right, \
153
			 asmc_mbp_sysctl_light_right, \
146
			 asmc_mbp_sysctl_light_control
154
			 asmc_mbp_sysctl_light_control
Lines 259-264 Link Here
259
	  ASMC_SMS_FUNCS, ASMC_FAN_FUNCS, NULL, NULL, NULL,
267
	  ASMC_SMS_FUNCS, ASMC_FAN_FUNCS, NULL, NULL, NULL,
260
	  ASMC_MBA3_TEMPS, ASMC_MBA3_TEMPNAMES, ASMC_MBA3_TEMPDESCS
268
	  ASMC_MBA3_TEMPS, ASMC_MBA3_TEMPNAMES, ASMC_MBA3_TEMPDESCS
261
	},	
269
	},	
270
	{
271
	  "MacBookAir5,1", "Apple SMC MacBook Air 11-inch (Late 2012)",
272
	  ASMC_SMS_FUNCS_DISABLED,
273
	  ASMC_FAN_FUNCS2,
274
	  ASMC_LIGHT_FUNCS,
275
	  ASMC_MBA3_TEMPS, ASMC_MBA3_TEMPNAMES, ASMC_MBA3_TEMPDESCS
276
	},	
277
	{
278
	  "MacBookAir5,2", "Apple SMC MacBook Air 13-inch (Late 2012)",
279
	  ASMC_SMS_FUNCS_DISABLED,
280
	  ASMC_FAN_FUNCS2,
281
	  ASMC_LIGHT_FUNCS,
282
	  ASMC_MBA3_TEMPS, ASMC_MBA3_TEMPNAMES, ASMC_MBA3_TEMPDESCS
283
	},	
262
284
263
	
285
	
264
	{ NULL, NULL }
286
	{ NULL, NULL }
Lines 265-271 Link Here
265
};
287
};
266
288
267
#undef ASMC_SMS_FUNCS
289
#undef ASMC_SMS_FUNCS
290
#undef ASMC_SMS_FUNCS_DISABLED
268
#undef ASMC_FAN_FUNCS
291
#undef ASMC_FAN_FUNCS
292
#undef ASMC_FAN_FUNCS2
269
#undef ASMC_LIGHT_FUNCS
293
#undef ASMC_LIGHT_FUNCS
270
294
271
/*
295
/*

Return to bug 203610