Lines 76-82
struct asmc_softc {
Link Here
|
76 |
|
76 |
|
77 |
|
77 |
|
78 |
/* Number of keys */ |
78 |
/* Number of keys */ |
79 |
#define ASMC_NKEYS "#KEY" /* RO; 4 bytes */ |
79 |
#define ASMC_NKEYS "#KEY" /* RO; 4 bytes */ |
80 |
|
80 |
|
81 |
/* |
81 |
/* |
82 |
* Fan control via SMC. |
82 |
* Fan control via SMC. |
Lines 154-160
struct asmc_softc {
Link Here
|
154 |
#define ASMC_MB31_TEMPDESCS { "Enclosure Bottomside", \ |
154 |
#define ASMC_MB31_TEMPDESCS { "Enclosure Bottomside", \ |
155 |
"Northbridge Point 1", \ |
155 |
"Northbridge Point 1", \ |
156 |
"Heatsink 1","Heatsink 2" \ |
156 |
"Heatsink 1","Heatsink 2" \ |
157 |
"Memory Bank A", } |
157 |
"Memory Bank A", } |
158 |
|
158 |
|
159 |
#define ASMC_MBP_TEMPS { "TB0T", "Th0H", "Th1H", "Tm0P", \ |
159 |
#define ASMC_MBP_TEMPS { "TB0T", "Th0H", "Th1H", "Tm0P", \ |
160 |
"TG0H", "TG0P", "TG0T", NULL } |
160 |
"TG0H", "TG0P", "TG0T", NULL } |
Lines 167-173
struct asmc_softc {
Link Here
|
167 |
"Heatsink 1", "Heatsink 2", \ |
167 |
"Heatsink 1", "Heatsink 2", \ |
168 |
"Memory Controller", \ |
168 |
"Memory Controller", \ |
169 |
"Graphics Chip", "Graphics Heatsink", \ |
169 |
"Graphics Chip", "Graphics Heatsink", \ |
170 |
"Unknown", } |
170 |
"Unknown", } |
171 |
|
171 |
|
172 |
#define ASMC_MBP4_TEMPS { "TB0T", "Th0H", "Th1H", "Th2H", "Tm0P", \ |
172 |
#define ASMC_MBP4_TEMPS { "TB0T", "Th0H", "Th1H", "Th2H", "Tm0P", \ |
173 |
"TG0H", "TG0D", "TC0D", "TC0P", "Ts0P", \ |
173 |
"TG0H", "TG0D", "TC0D", "TC0P", "Ts0P", \ |
Lines 186-198
struct asmc_softc {
Link Here
|
186 |
"Graphics Chip Diode", \ |
186 |
"Graphics Chip Diode", \ |
187 |
"CPU Temperature Diode", "CPU Point 2", \ |
187 |
"CPU Temperature Diode", "CPU Point 2", \ |
188 |
"Unknown", "Unknown", \ |
188 |
"Unknown", "Unknown", \ |
189 |
"Wireless Module", } |
189 |
"Wireless Module", } |
190 |
|
190 |
|
191 |
#define ASMC_MBP5_TEMPS { "TB0T", "TB1T", "TB2T", "TB3T", "TC0D", \ |
191 |
#define ASMC_MBP5_TEMPS { "TB0T", "TB1T", "TB2T", "TB3T", "TC0D", \ |
192 |
"TC0F", "TC0P", "TG0D", "TG0F", "TG0H", \ |
192 |
"TC0F", "TC0P", "TG0D", "TG0F", "TG0H", \ |
193 |
"TG0P", "TG0T", "TG1H", "TN0D", "TN0P", \ |
193 |
"TG0P", "TG0T", "TG1H", "TN0D", "TN0P", \ |
194 |
"TTF0", "Th2H", "Tm0P", "Ts0P", "Ts0S", \ |
194 |
"TTF0", "Th2H", "Tm0P", "Ts0P", "Ts0S", \ |
195 |
NULL } |
195 |
NULL } |
196 |
|
196 |
|
197 |
#define ASMC_MBP5_TEMPNAMES { "enclosure_bottom_0", "enclosure_bottom_1", \ |
197 |
#define ASMC_MBP5_TEMPNAMES { "enclosure_bottom_0", "enclosure_bottom_1", \ |
198 |
"enclosure_bottom_2", "enclosure_bottom_3", \ |
198 |
"enclosure_bottom_2", "enclosure_bottom_3", \ |
Lines 203-209
struct asmc_softc {
Link Here
|
203 |
"gpu_2_heatsink", "northbridge_diode", \ |
203 |
"gpu_2_heatsink", "northbridge_diode", \ |
204 |
"northbridge_pin", "unknown", \ |
204 |
"northbridge_pin", "unknown", \ |
205 |
"heatsink_2", "memory_controller", \ |
205 |
"heatsink_2", "memory_controller", \ |
206 |
"pci_express_slot_pin", "pci_express_slot_unk" } |
206 |
"pci_express_slot_pin", "pci_express_slot_unk" } |
207 |
|
207 |
|
208 |
#define ASMC_MBP5_TEMPDESCS { "Enclosure Bottom 0", "Enclosure Bottom 1", \ |
208 |
#define ASMC_MBP5_TEMPDESCS { "Enclosure Bottom 0", "Enclosure Bottom 1", \ |
209 |
"Enclosure Bottom 2", "Enclosure Bottom 3", \ |
209 |
"Enclosure Bottom 2", "Enclosure Bottom 3", \ |
Lines 214-243
struct asmc_softc {
Link Here
|
214 |
"GPU 2 Heatsink", "Northbridge Diode", \ |
214 |
"GPU 2 Heatsink", "Northbridge Diode", \ |
215 |
"Northbridge Pin", "Unknown", \ |
215 |
"Northbridge Pin", "Unknown", \ |
216 |
"Heatsink 2", "Memory Controller", \ |
216 |
"Heatsink 2", "Memory Controller", \ |
217 |
"PCI Express Slot Pin", "PCI Express Slot (unk)" } |
217 |
"PCI Express Slot Pin", "PCI Express Slot (unk)" } |
218 |
|
218 |
|
219 |
#define ASMC_MBP8_TEMPS { "TB0T", "TB1T", "TB2T", "TC0C", "TC0D", \ |
219 |
#define ASMC_MBP8_TEMPS { "TB0T", "TB1T", "TB2T", "TC0C", "TC0D", \ |
220 |
"TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ |
220 |
"TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ |
221 |
"TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ |
221 |
"TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ |
222 |
"TCTD", "TG0D", "TG0P", "THSP", "TM0S", \ |
222 |
"TCTD", "TG0D", "TG0P", "THSP", "TM0S", \ |
223 |
"TMBS", "TP0P", "TPCD", "TW0P", "Th1H", \ |
223 |
"TMBS", "TP0P", "TPCD", "TW0P", "Th1H", \ |
224 |
"Th2H", "Tm0P", "Ts0P", "Ts0S", NULL } |
224 |
"Th2H", "Tm0P", "Ts0P", "Ts0S", NULL } |
225 |
|
225 |
|
226 |
#define ASMC_MBP8_TEMPNAMES { "enclosure", "TB1T", "TB2T", "TC0C", "TC0D", \ |
226 |
#define ASMC_MBP8_TEMPNAMES { "enclosure", "TB1T", "TB2T", "TC0C", "TC0D", \ |
227 |
"TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ |
227 |
"TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ |
228 |
"TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ |
228 |
"TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ |
229 |
"TCTD", "graphics", "TG0P", "THSP", "TM0S", \ |
229 |
"TCTD", "graphics", "TG0P", "THSP", "TM0S", \ |
230 |
"TMBS", "TP0P", "TPCD", "wireless", "Th1H", \ |
230 |
"TMBS", "TP0P", "TPCD", "wireless", "Th1H", \ |
231 |
"Th2H", "memory", "Ts0P", "Ts0S" } |
231 |
"Th2H", "memory", "Ts0P", "Ts0S" } |
232 |
|
232 |
|
233 |
#define ASMC_MBP8_TEMPDESCS { "Enclosure Bottomside", "TB1T", "TB2T", "TC0C", "TC0D", \ |
233 |
#define ASMC_MBP8_TEMPDESCS { "Enclosure Bottomside", "TB1T", "TB2T", "TC0C", "TC0D", \ |
234 |
"TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ |
234 |
"TC0E", "TC0F", "TC0P", "TC1C", "TC2C", \ |
235 |
"TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ |
235 |
"TC3C", "TC4C", "TCFC", "TCGC", "TCSA", \ |
236 |
"TCTD", "TG0D", "TG0P", "THSP", "TM0S", \ |
236 |
"TCTD", "TG0D", "TG0P", "THSP", "TM0S", \ |
237 |
"TMBS", "TP0P", "TPCD", "TW0P", "Th1H", \ |
237 |
"TMBS", "TP0P", "TPCD", "TW0P", "Th1H", \ |
238 |
"Th2H", "Tm0P", "Ts0P", "Ts0S" } |
238 |
"Th2H", "Tm0P", "Ts0P", "Ts0S" } |
|
|
239 |
|
240 |
#define ASMC_MBP112_TEMPS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
241 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
242 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
243 |
"TCXC", "TH0A", "TH0B", "TH0F", "TH0R", \ |
244 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
245 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
246 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
247 |
"Ts1S", NULL } |
248 |
|
249 |
#define ASMC_MBP112_TEMPNAMES { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
250 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
251 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
252 |
"TCXC", "TH0A", "TH0B", "TH0F", "TH0R", \ |
253 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
254 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
255 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
256 |
"Ts1S" } |
257 |
|
258 |
#define ASMC_MBP112_TEMPDESCS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
259 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
260 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
261 |
"TCXC", "TH0A", "TH0B", "TH0F", "TH0R", \ |
262 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
263 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
264 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
265 |
"Ts1S" } |
239 |
|
266 |
|
240 |
#define ASMC_MBP11_TEMPS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
267 |
#define ASMC_MBP113_TEMPS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
241 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
268 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
242 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
269 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
243 |
"TCXC", "TG0D", "TG0P", "TG1D", "TG1F", \ |
270 |
"TCXC", "TG0D", "TG0P", "TG1D", "TG1F", \ |
Lines 245-253
struct asmc_softc {
Link Here
|
245 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
272 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
246 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
273 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
247 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
274 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
248 |
"Ts1S", NULL } |
275 |
"Ts1S", NULL } |
249 |
|
276 |
|
250 |
#define ASMC_MBP11_TEMPNAMES { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
277 |
#define ASMC_MBP113_TEMPNAMES { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
251 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
278 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
252 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
279 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
253 |
"TCXC", "TG0D", "TG0P", "TG1D", "TG1F", \ |
280 |
"TCXC", "TG0D", "TG0P", "TG1D", "TG1F", \ |
Lines 255-263
struct asmc_softc {
Link Here
|
255 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
282 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
256 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
283 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
257 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
284 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
258 |
"Ts1S" } |
285 |
"Ts1S" } |
259 |
|
286 |
|
260 |
#define ASMC_MBP11_TEMPDESCS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
287 |
#define ASMC_MBP113_TEMPDESCS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ |
261 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
288 |
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ |
262 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
289 |
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ |
263 |
"TCXC", "TG0D", "TG0P", "TG1D", "TG1F", \ |
290 |
"TCXC", "TG0D", "TG0P", "TG1D", "TG1F", \ |
Lines 265-271
struct asmc_softc {
Link Here
|
265 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
292 |
"TH0V", "TH0a", "TH0b", "TH0c", "TM0P", \ |
266 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
293 |
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ |
267 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
294 |
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ |
268 |
"Ts1S" } |
295 |
"Ts1S" } |
|
|
296 |
|
269 |
|
297 |
|
270 |
#define ASMC_MM_TEMPS { "TN0P", "TN1P", NULL } |
298 |
#define ASMC_MM_TEMPS { "TN0P", "TN1P", NULL } |
271 |
#define ASMC_MM_TEMPNAMES { "northbridge1", "northbridge2" } |
299 |
#define ASMC_MM_TEMPNAMES { "northbridge1", "northbridge2" } |