root/lm-sensors/trunk/lib/chips.h @ 4449

Revision 4449, 92.4 KB (checked in by khali, 7 years ago)

Add user-space support for the Linux 2.4 w83627ehf driver.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*
2    chips.h - Part of libsensors, a Linux library for reading sensor data.
3    Copyright (c) 1998, 1999  Frodo Looijaard <frodol@dds.nl>
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18*/
19
20/* This files contains, for each type of chip, the kind of values you can
21   read and write. The actual value of each define is completely arbitrary,
22   as long as, for one specific chip, each defined value is unique. I tried
23   to give similar features similar values, but you can't trust that.
24   Some entries are very alike (for example the LM78, LM78-J and LM79
25   defines). Where documented, you can mix the defines. If chip prefixes
26   are different, they get their own entry. */
27
28/* If you add a chip here, do not forget to add the entry in chips.c too.
29   Other than that (and a recompile, and a bump up of the library number
30   for shared libs) nothing should need to be done to support new chips. */
31
32
33/* LM78 chips */
34
35#ifndef LIB_SENSORS_CHIPS_H
36#define LIB_SENSORS_CHIPS_H
37
38#define SENSORS_LM78_PREFIX "lm78"
39
40#define SENSORS_LM78_IN0 1 /* R */
41#define SENSORS_LM78_IN1 2 /* R */
42#define SENSORS_LM78_IN2 3 /* R */
43#define SENSORS_LM78_IN3 4 /* R */
44#define SENSORS_LM78_IN4 5 /* R */
45#define SENSORS_LM78_IN5 6 /* R */
46#define SENSORS_LM78_IN6 7 /* R */
47#define SENSORS_LM78_IN0_MIN 11 /* RW */
48#define SENSORS_LM78_IN1_MIN 12 /* RW */
49#define SENSORS_LM78_IN2_MIN 13 /* RW */
50#define SENSORS_LM78_IN3_MIN 14 /* RW */
51#define SENSORS_LM78_IN4_MIN 15 /* RW */
52#define SENSORS_LM78_IN5_MIN 16 /* RW */
53#define SENSORS_LM78_IN6_MIN 17 /* RW */
54#define SENSORS_LM78_IN0_MAX 21 /* RW */
55#define SENSORS_LM78_IN1_MAX 22 /* RW */
56#define SENSORS_LM78_IN2_MAX 23 /* RW */
57#define SENSORS_LM78_IN3_MAX 24 /* RW */
58#define SENSORS_LM78_IN4_MAX 25 /* RW */
59#define SENSORS_LM78_IN5_MAX 26 /* RW */
60#define SENSORS_LM78_IN6_MAX 27 /* RW */
61#define SENSORS_LM78_FAN1 31 /* R */
62#define SENSORS_LM78_FAN2 32 /* R */
63#define SENSORS_LM78_FAN3 33 /* R */
64#define SENSORS_LM78_FAN1_MIN 41 /* RW */
65#define SENSORS_LM78_FAN2_MIN 42 /* RW */
66#define SENSORS_LM78_FAN3_MIN 43 /* RW */
67#define SENSORS_LM78_TEMP 51 /* R */
68#define SENSORS_LM78_TEMP_HYST 52 /* RW */
69#define SENSORS_LM78_TEMP_OVER 53 /* RW */
70#define SENSORS_LM78_VID 61 /* R */
71#define SENSORS_LM78_FAN1_DIV 71 /* RW */
72#define SENSORS_LM78_FAN2_DIV 72 /* RW */
73#define SENSORS_LM78_FAN3_DIV 73 /* R (yes, really! */
74#define SENSORS_LM78_ALARMS 81 /* R */
75
76
77/* LM78-J chips. It is actually safe to use the LM78 defines instead, but it
78   is better practice to use these. */
79
80#define SENSORS_LM78J_PREFIX "lm78-j"
81
82#define SENSORS_LM78J_IN0 1 /* R */
83#define SENSORS_LM78J_IN1 2 /* R */
84#define SENSORS_LM78J_IN2 3 /* R */
85#define SENSORS_LM78J_IN3 4 /* R */
86#define SENSORS_LM78J_IN4 5 /* R */
87#define SENSORS_LM78J_IN5 6 /* R */
88#define SENSORS_LM78J_IN6 7 /* R */
89#define SENSORS_LM78J_IN0_MIN 11 /* RW */
90#define SENSORS_LM78J_IN1_MIN 12 /* RW */
91#define SENSORS_LM78J_IN2_MIN 13 /* RW */
92#define SENSORS_LM78J_IN3_MIN 14 /* RW */
93#define SENSORS_LM78J_IN4_MIN 15 /* RW */
94#define SENSORS_LM78J_IN5_MIN 16 /* RW */
95#define SENSORS_LM78J_IN6_MIN 17 /* RW */
96#define SENSORS_LM78J_IN0_MAX 21 /* RW */
97#define SENSORS_LM78J_IN1_MAX 22 /* RW */
98#define SENSORS_LM78J_IN2_MAX 23 /* RW */
99#define SENSORS_LM78J_IN3_MAX 24 /* RW */
100#define SENSORS_LM78J_IN4_MAX 25 /* RW */
101#define SENSORS_LM78J_IN5_MAX 26 /* RW */
102#define SENSORS_LM78J_IN6_MAX 27 /* RW */
103#define SENSORS_LM78J_FAN1 31 /* R */
104#define SENSORS_LM78J_FAN2 32 /* R */
105#define SENSORS_LM78J_FAN3 33  /* R */
106#define SENSORS_LM78J_FAN1_MIN 41 /* RW */
107#define SENSORS_LM78J_FAN2_MIN 42 /* RW */
108#define SENSORS_LM78J_FAN3_MIN 43 /* RW */
109#define SENSORS_LM78J_TEMP 51 /* R */
110#define SENSORS_LM78J_TEMP_HYST 52 /* RW */
111#define SENSORS_LM78J_TEMP_OVER 53 /* RW */
112#define SENSORS_LM78J_VID 61 /* R */
113#define SENSORS_LM78J_FAN1_DIV 71 /* RW */
114#define SENSORS_LM78J_FAN2_DIV 72 /* RW */
115#define SENSORS_LM78J_FAN3_DIV 73 /* R (yes, really!) */
116#define SENSORS_LM78J_ALARMS 81 /* R */
117
118
119/* LM79 chips. It is actually safe to use the LM78 defines instead, but it
120   is better practice to use these. */
121
122#define SENSORS_LM79_PREFIX "lm79"
123
124#define SENSORS_LM79_IN0 1 /* R */
125#define SENSORS_LM79_IN1 2 /* R */
126#define SENSORS_LM79_IN2 3 /* R */
127#define SENSORS_LM79_IN3 4 /* R */
128#define SENSORS_LM79_IN4 5 /* R */
129#define SENSORS_LM79_IN5 6 /* R */
130#define SENSORS_LM79_IN6 7 /* R */
131#define SENSORS_LM79_IN0_MIN 11 /* RW */
132#define SENSORS_LM79_IN1_MIN 12 /* RW */
133#define SENSORS_LM79_IN2_MIN 13 /* RW */
134#define SENSORS_LM79_IN3_MIN 14 /* RW */
135#define SENSORS_LM79_IN4_MIN 15 /* RW */
136#define SENSORS_LM79_IN5_MIN 16 /* RW */
137#define SENSORS_LM79_IN6_MIN 17 /* RW */
138#define SENSORS_LM79_IN0_MAX 21 /* RW */
139#define SENSORS_LM79_IN1_MAX 22 /* RW */
140#define SENSORS_LM79_IN2_MAX 23 /* RW */
141#define SENSORS_LM79_IN3_MAX 24 /* RW */
142#define SENSORS_LM79_IN4_MAX 25 /* R */
143#define SENSORS_LM79_IN5_MAX 26 /* R */
144#define SENSORS_LM79_IN6_MAX 27 /* R */
145#define SENSORS_LM79_FAN1 31 /* R */
146#define SENSORS_LM79_FAN2 32 /* R */
147#define SENSORS_LM79_FAN3 33 /* R */
148#define SENSORS_LM79_FAN1_MIN 41 /* RW */
149#define SENSORS_LM79_FAN2_MIN 42 /* RW */
150#define SENSORS_LM79_FAN3_MIN 43 /* RW */
151#define SENSORS_LM79_TEMP 51 /* R */
152#define SENSORS_LM79_TEMP_HYST 52 /* RW */
153#define SENSORS_LM79_TEMP_OVER 53 /* RW */
154#define SENSORS_LM79_VID 61 /* R */
155#define SENSORS_LM79_FAN1_DIV 71 /* RW */
156#define SENSORS_LM79_FAN2_DIV 72 /* RW */
157#define SENSORS_LM79_FAN3_DIV 73 /* R (yes, really! */
158#define SENSORS_LM79_ALARMS 81 /* R */
159
160
161/* LM75 chips. */
162
163#define SENSORS_LM75_PREFIX "lm75"
164
165#define SENSORS_LM75_TEMP 51 /* R */
166#define SENSORS_LM75_TEMP_HYST 52 /* RW */
167#define SENSORS_LM75_TEMP_OVER 53 /* RW */
168
169/* ADM1021 chips. */
170
171#define SENSORS_ADM1021_PREFIX "adm1021"
172/* Cheat on LM84,GL523,THMC10,1023 for now - no separate #defines */
173#define SENSORS_ADM1023_PREFIX "adm1023"
174#define SENSORS_LM84_PREFIX "lm84"
175#define SENSORS_GL523_PREFIX "gl523"
176#define SENSORS_THMC10_PREFIX "thmc10"
177
178#define SENSORS_ADM1021_TEMP 51 /* R */
179#define SENSORS_ADM1021_TEMP_HYST 52 /* RW */
180#define SENSORS_ADM1021_TEMP_OVER 53 /* RW */
181#define SENSORS_ADM1021_REMOTE_TEMP 54 /* R */
182#define SENSORS_ADM1021_REMOTE_TEMP_HYST 55 /* RW */
183#define SENSORS_ADM1021_REMOTE_TEMP_OVER 56 /* RW */
184#define SENSORS_ADM1021_ALARMS 81 /* R */
185#define SENSORS_ADM1021_DIE_CODE 90 /* R */
186
187/* ADM1029 chips */
188
189#define SENSORS_ADM1029_PREFIX "adm1029"
190
191#define SENSORS_ADM1029_TEMP1           51
192#define SENSORS_ADM1029_TEMP1_MAX       52
193#define SENSORS_ADM1029_TEMP1_MIN       53
194
195#define SENSORS_ADM1029_TEMP2           61
196#define SENSORS_ADM1029_TEMP2_MAX       62
197#define SENSORS_ADM1029_TEMP2_MIN       63
198
199#define SENSORS_ADM1029_TEMP3           71
200#define SENSORS_ADM1029_TEMP3_MAX       72
201#define SENSORS_ADM1029_TEMP3_MIN       73
202
203#define SENSORS_ADM1029_FAN1            81
204#define SENSORS_ADM1029_FAN1_MIN        82
205#define SENSORS_ADM1029_FAN1_DIV        83
206
207#define SENSORS_ADM1029_FAN2            91
208#define SENSORS_ADM1029_FAN2_MIN        92
209#define SENSORS_ADM1029_FAN2_DIV        93
210
211
212/* ADM1030 and ADM1031 chips */
213
214#define SENSORS_ADM1030_PREFIX "adm1030"
215#define SENSORS_ADM1031_PREFIX "adm1031"
216
217#define SENSORS_ADM1031_TEMP1      51 /* R */
218#define SENSORS_ADM1031_TEMP1_MIN  52 /* RW */
219#define SENSORS_ADM1031_TEMP1_MAX  53 /* RW */
220#define SENSORS_ADM1031_TEMP1_CRIT 54 /* RW */
221
222#define SENSORS_ADM1031_TEMP2      61 /* R */
223#define SENSORS_ADM1031_TEMP2_MIN  62 /* RW */
224#define SENSORS_ADM1031_TEMP2_MAX  63 /* RW */
225#define SENSORS_ADM1031_TEMP2_CRIT 64 /* RW */
226
227#define SENSORS_ADM1031_TEMP3      71 /* R */
228#define SENSORS_ADM1031_TEMP3_MIN  72 /* RW */
229#define SENSORS_ADM1031_TEMP3_MAX  73 /* RW */
230#define SENSORS_ADM1031_TEMP3_CRIT 74 /* RW */
231
232
233#define SENSORS_ADM1031_FAN1       80 /* R */
234#define SENSORS_ADM1031_FAN1_MIN   81 /* RW */
235#define SENSORS_ADM1031_FAN1_DIV   82 /* RW */
236#define SENSORS_ADM1031_FAN2       90 /* R */
237#define SENSORS_ADM1031_FAN2_MIN   91 /* RW */
238#define SENSORS_ADM1031_FAN2_DIV   92 /* RW */
239
240#define SENSORS_ADM1031_ALARMS    100 /* R */
241
242
243/* MAX1617 chips. */
244
245#define SENSORS_MAX1617_PREFIX "max1617"
246#define SENSORS_MC1066_PREFIX "mc1066"
247
248#define SENSORS_MAX1617_TEMP 51 /* R */
249#define SENSORS_MAX1617_TEMP_HYST 52 /* RW */
250#define SENSORS_MAX1617_TEMP_OVER 53 /* RW */
251#define SENSORS_MAX1617_REMOTE_TEMP 54 /* R */
252#define SENSORS_MAX1617_REMOTE_TEMP_HYST 55 /* RW */
253#define SENSORS_MAX1617_REMOTE_TEMP_OVER 56 /* RW */
254#define SENSORS_MAX1617_ALARMS 81 /* R */
255
256/* MAX1617A chips. */
257
258#define SENSORS_MAX1617A_PREFIX "max1617a"
259
260#define SENSORS_MAX1617A_TEMP 51 /* R */
261#define SENSORS_MAX1617A_TEMP_HYST 52 /* RW */
262#define SENSORS_MAX1617A_TEMP_OVER 53 /* RW */
263#define SENSORS_MAX1617A_REMOTE_TEMP 54 /* R */
264#define SENSORS_MAX1617A_REMOTE_TEMP_HYST 55 /* RW */
265#define SENSORS_MAX1617A_REMOTE_TEMP_OVER 56 /* RW */
266#define SENSORS_MAX1617A_ALARMS 81 /* R */
267
268/* GL518SM chips */
269
270#define SENSORS_GL518_PREFIX "gl518sm"
271
272#define SENSORS_GL518_VDD 1 /* R */
273#define SENSORS_GL518_VIN1 2 /* R */
274#define SENSORS_GL518_VIN2 3 /* R */
275#define SENSORS_GL518_VIN3 4 /* R */
276#define SENSORS_GL518_VDD_MIN 11 /* RW */
277#define SENSORS_GL518_VIN1_MIN 12 /* RW */
278#define SENSORS_GL518_VIN2_MIN 13 /* RW */
279#define SENSORS_GL518_VIN3_MIN 14 /* RW */
280#define SENSORS_GL518_VDD_MAX 21 /* RW */
281#define SENSORS_GL518_VIN1_MAX 22 /* RW */
282#define SENSORS_GL518_VIN2_MAX 23 /* RW */
283#define SENSORS_GL518_VIN3_MAX 24 /* RW */
284#define SENSORS_GL518_FAN1 31 /* R */
285#define SENSORS_GL518_FAN2 32 /* R */
286#define SENSORS_GL518_FAN1_MIN 41 /* RW */
287#define SENSORS_GL518_FAN2_MIN 42 /* RW */
288#define SENSORS_GL518_TEMP 51 /* R */
289#define SENSORS_GL518_TEMP_HYST 52 /* RW */
290#define SENSORS_GL518_TEMP_OVER 53 /* RW */
291#define SENSORS_GL518_FAN1_DIV 71 /* RW */
292#define SENSORS_GL518_FAN2_DIV 72 /* RW */
293#define SENSORS_GL518_ALARMS 81 /* R */
294#define SENSORS_GL518_BEEP_ENABLE 82 /* RW */
295#define SENSORS_GL518_BEEPS 83 /* RW */
296#define SENSORS_GL518_ITERATE 84 /* RW */
297#define SENSORS_GL518_FAN1OFF 85 /* RW */
298#define SENSORS_GL518_FAN1PIN 86 /* RW */
299
300/* GL520SM chips */
301
302#define SENSORS_GL520_PREFIX "gl520sm"
303
304#define SENSORS_GL520_VDD 1 /* R */
305#define SENSORS_GL520_VIN1 2 /* R */
306#define SENSORS_GL520_VIN2 3 /* R */
307#define SENSORS_GL520_VIN3 4 /* R */
308#define SENSORS_GL520_VIN4 5 /* R */
309#define SENSORS_GL520_VDD_MIN 11 /* RW */
310#define SENSORS_GL520_VIN1_MIN 12 /* RW */
311#define SENSORS_GL520_VIN2_MIN 13 /* RW */
312#define SENSORS_GL520_VIN3_MIN 14 /* RW */
313#define SENSORS_GL520_VIN4_MIN 15 /* RW */
314#define SENSORS_GL520_VDD_MAX 21 /* RW */
315#define SENSORS_GL520_VIN1_MAX 22 /* RW */
316#define SENSORS_GL520_VIN2_MAX 23 /* RW */
317#define SENSORS_GL520_VIN3_MAX 24 /* RW */
318#define SENSORS_GL520_VIN4_MAX 25 /* RW */
319#define SENSORS_GL520_FAN1 31 /* R */
320#define SENSORS_GL520_FAN2 32 /* R */
321#define SENSORS_GL520_FAN1_MIN 41 /* RW */
322#define SENSORS_GL520_FAN2_MIN 42 /* RW */
323#define SENSORS_GL520_TEMP1 51 /* R */
324#define SENSORS_GL520_TEMP1_HYST 52 /* RW */
325#define SENSORS_GL520_TEMP1_OVER 53 /* RW */
326#define SENSORS_GL520_TEMP2 54 /* R */
327#define SENSORS_GL520_TEMP2_HYST 55 /* RW */
328#define SENSORS_GL520_TEMP2_OVER 56 /* RW */
329#define SENSORS_GL520_VID 61 /* R */
330#define SENSORS_GL520_FAN1_DIV 71 /* RW */
331#define SENSORS_GL520_FAN2_DIV 72 /* RW */
332#define SENSORS_GL520_ALARMS 81 /* R */
333#define SENSORS_GL520_BEEP_ENABLE 82 /* RW */
334#define SENSORS_GL520_BEEPS 83 /* RW */
335#define SENSORS_GL520_TWOTEMPS 84 /* RW */
336#define SENSORS_GL520_FAN1OFF 85 /* RW */
337
338/* LM80 chips */
339
340#define SENSORS_LM80_PREFIX "lm80"
341
342#define SENSORS_LM80_IN0 1 /* R */
343#define SENSORS_LM80_IN1 2 /* R */
344#define SENSORS_LM80_IN2 3 /* R */
345#define SENSORS_LM80_IN3 4 /* R */
346#define SENSORS_LM80_IN4 5 /* R */
347#define SENSORS_LM80_IN5 6 /* R */
348#define SENSORS_LM80_IN6 7 /* R */
349#define SENSORS_LM80_IN0_MIN 11 /* RW */
350#define SENSORS_LM80_IN1_MIN 12 /* RW */
351#define SENSORS_LM80_IN2_MIN 13 /* RW */
352#define SENSORS_LM80_IN3_MIN 14 /* RW */
353#define SENSORS_LM80_IN4_MIN 15 /* RW */
354#define SENSORS_LM80_IN5_MIN 16 /* RW */
355#define SENSORS_LM80_IN6_MIN 17 /* RW */
356#define SENSORS_LM80_IN0_MAX 21 /* RW */
357#define SENSORS_LM80_IN1_MAX 22 /* RW */
358#define SENSORS_LM80_IN2_MAX 23 /* RW */
359#define SENSORS_LM80_IN3_MAX 24 /* RW */
360#define SENSORS_LM80_IN4_MAX 25 /* R */
361#define SENSORS_LM80_IN5_MAX 26 /* R */
362#define SENSORS_LM80_IN6_MAX 27 /* R */
363#define SENSORS_LM80_FAN1 31 /* R */
364#define SENSORS_LM80_FAN2 32 /* R */
365#define SENSORS_LM80_FAN1_MIN 41 /* RW */
366#define SENSORS_LM80_FAN2_MIN 42 /* RW */
367#define SENSORS_LM80_TEMP 51 /* R */
368#define SENSORS_LM80_TEMP_HOT_HYST 52 /* RW */
369#define SENSORS_LM80_TEMP_HOT_MAX 53 /* RW */
370#define SENSORS_LM80_TEMP_OS_HYST 54 /* RW */
371#define SENSORS_LM80_TEMP_OS_MAX 55 /* RW */
372#define SENSORS_LM80_FAN1_DIV 71 /* RW */
373#define SENSORS_LM80_FAN2_DIV 72 /* RW */
374#define SENSORS_LM80_ALARMS 81 /* R */
375
376/* LM83 chips */
377
378#define SENSORS_LM83_PREFIX "lm83"
379
380#define SENSORS_LM83_LOCAL_TEMP 51 /* R */
381#define SENSORS_LM83_LOCAL_HIGH 52 /* RW */
382#define SENSORS_LM83_REMOTE1_TEMP 54 /* R */
383#define SENSORS_LM83_REMOTE1_HIGH 55 /* RW */
384#define SENSORS_LM83_REMOTE2_TEMP 57 /* R */
385#define SENSORS_LM83_REMOTE2_HIGH 58 /* RW */
386#define SENSORS_LM83_REMOTE3_TEMP 60 /* R */
387#define SENSORS_LM83_REMOTE3_HIGH 61 /* RW */
388#define SENSORS_LM83_TCRIT 80 /* RW */
389#define SENSORS_LM83_ALARMS 81 /* R */
390
391/* LM85 chips */
392
393#define SENSORS_LM85_PREFIX "lm85"
394#define SENSORS_LM85B_PREFIX "lm85b"
395#define SENSORS_LM85C_PREFIX "lm85c"
396#define SENSORS_ADM1027_PREFIX "adm1027"
397#define SENSORS_ADT7463_PREFIX "adt7463"
398#define SENSORS_EMC6D100_PREFIX "emc6d100"
399#define SENSORS_EMC6D102_PREFIX "emc6d102"
400
401#define SENSORS_ADM1027_ALARM_MASK           1  /* RW -- alarm_mask  */
402#define SENSORS_ADM1027_FAN1_PPR             2  /* RW -- fan1_ppr  */
403#define SENSORS_ADM1027_FAN1_TACH_MODE       3  /* RW -- fan1_tach_mode  */
404#define SENSORS_ADM1027_FAN2_PPR             4  /* RW -- fan2_ppr  */
405#define SENSORS_ADM1027_FAN2_TACH_MODE       5  /* RW -- fan2_tach_mode  */
406#define SENSORS_ADM1027_FAN3_PPR             6  /* RW -- fan3_ppr  */
407#define SENSORS_ADM1027_FAN3_TACH_MODE       7  /* RW -- fan3_tach_mode  */
408#define SENSORS_ADM1027_FAN4_PPR             8  /* RW -- fan4_ppr  */
409#define SENSORS_ADM1027_FAN4_TACH_MODE       9  /* RW -- fan4_tach_mode  */
410#define SENSORS_ADM1027_PWM1_SMOOTH         10  /* RW -- pwm1_smooth  */
411#define SENSORS_ADM1027_PWM2_SMOOTH         11  /* RW -- pwm2_smooth  */
412#define SENSORS_ADM1027_PWM3_SMOOTH         12  /* RW -- pwm3_smooth  */
413#define SENSORS_ADM1027_TEMP1_OFFSET        13  /* RW -- temp1_offset  */
414#define SENSORS_ADM1027_TEMP2_OFFSET        14  /* RW -- temp2_offset  */
415#define SENSORS_ADM1027_TEMP3_OFFSET        15  /* RW -- temp3_offset  */
416#define SENSORS_LM85_ALARMS                 16  /* R  -- alarms  */
417#define SENSORS_LM85_VID                    17  /* R  -- vid  */
418#define SENSORS_LM85_VRM                    18  /* RW -- vrm  */
419#define SENSORS_LM85_FAN1                   19  /* R  -- fan1  */
420#define SENSORS_LM85_FAN1_MIN               20  /* RW -- fan1_min  */
421#define SENSORS_LM85_FAN1_TACH_MODE         21  /* RW -- fan1_tach_mode  */
422#define SENSORS_LM85_FAN2                   22  /* R  -- fan2  */
423#define SENSORS_LM85_FAN2_MIN               23  /* RW -- fan2_min  */
424#define SENSORS_LM85_FAN2_TACH_MODE         24  /* RW -- fan2_tach_mode  */
425#define SENSORS_LM85_FAN3                   25  /* R  -- fan3  */
426#define SENSORS_LM85_FAN3_MIN               26  /* RW -- fan3_min  */
427#define SENSORS_LM85_FAN3_TACH_MODE         27  /* RW -- fan3_tach_mode  */
428#define SENSORS_LM85_FAN4                   28  /* R  -- fan4  */
429#define SENSORS_LM85_FAN4_MIN               29  /* RW -- fan4_min  */
430#define SENSORS_LM85_IN0                    30  /* R  -- in0  */
431#define SENSORS_LM85_IN0_MAX                31  /* RW -- in0_max  */
432#define SENSORS_LM85_IN0_MIN                32  /* RW -- in0_min  */
433#define SENSORS_LM85_IN1                    33  /* R  -- in1  */
434#define SENSORS_LM85_IN1_MAX                34  /* RW -- in1_max  */
435#define SENSORS_LM85_IN1_MIN                35  /* RW -- in1_min  */
436#define SENSORS_LM85_IN2                    36  /* R  -- in2  */
437#define SENSORS_LM85_IN2_MAX                37  /* RW -- in2_max  */
438#define SENSORS_LM85_IN2_MIN                38  /* RW -- in2_min  */
439#define SENSORS_LM85_IN3                    39  /* R  -- in3  */
440#define SENSORS_LM85_IN3_MAX                40  /* RW -- in3_max  */
441#define SENSORS_LM85_IN3_MIN                41  /* RW -- in3_min  */
442#define SENSORS_LM85_IN4                    42  /* R  -- in4  */
443#define SENSORS_LM85_IN4_MAX                43  /* RW -- in4_max  */
444#define SENSORS_LM85_IN4_MIN                44  /* RW -- in4_min  */
445#define SENSORS_LM85_IN5                    45  /* R  -- in5  */
446#define SENSORS_LM85_IN5_MAX                46  /* RW -- in5_max  */
447#define SENSORS_LM85_IN5_MIN                47  /* RW -- in5_min  */
448#define SENSORS_LM85_IN6                    48  /* R  -- in6  */
449#define SENSORS_LM85_IN6_MAX                49  /* RW -- in6_max  */
450#define SENSORS_LM85_IN6_MIN                50  /* RW -- in6_min  */
451#define SENSORS_LM85_IN7                    51  /* R  -- in7  */
452#define SENSORS_LM85_IN7_MAX                52  /* RW -- in7_max  */
453#define SENSORS_LM85_IN7_MIN                53  /* RW -- in7_min  */
454#define SENSORS_LM85_PWM1                   54  /* RW -- pwm1  */
455#define SENSORS_LM85_PWM1_FREQ              55  /* RW -- pwm1_freq  */
456#define SENSORS_LM85_PWM1_INVERT            56  /* RW -- pwm1_invert  */
457#define SENSORS_LM85_PWM1_MIN               57  /* RW -- pwm1_min  */
458#define SENSORS_LM85_PWM1_MIN_CTL           58  /* RW -- pwm1_min_ctl  */
459#define SENSORS_LM85_PWM1_SPINUP            59  /* RW -- pwm1_spinup  */
460#define SENSORS_LM85_PWM1_SPINUP_CTL        60  /* RW -- pwm1_spinup_ctl  */
461#define SENSORS_LM85_PWM1_ZONE              61  /* RW -- pwm1_zone  */
462#define SENSORS_LM85_PWM2                   62  /* RW -- pwm2  */
463#define SENSORS_LM85_PWM2_FREQ              63  /* RW -- pwm2_freq  */
464#define SENSORS_LM85_PWM2_INVERT            64  /* RW -- pwm2_invert  */
465#define SENSORS_LM85_PWM2_MIN               65  /* RW -- pwm2_min  */
466#define SENSORS_LM85_PWM2_MIN_CTL           66  /* RW -- pwm2_min_ctl  */
467#define SENSORS_LM85_PWM2_SPINUP            67  /* RW -- pwm2_spinup  */
468#define SENSORS_LM85_PWM2_SPINUP_CTL        68  /* RW -- pwm2_spinup_ctl  */
469#define SENSORS_LM85_PWM2_ZONE              69  /* RW -- pwm2_zone  */
470#define SENSORS_LM85_PWM3                   70  /* RW -- pwm3  */
471#define SENSORS_LM85_PWM3_FREQ              71  /* RW -- pwm3_freq  */
472#define SENSORS_LM85_PWM3_INVERT            72  /* RW -- pwm3_invert  */
473#define SENSORS_LM85_PWM3_MIN               73  /* RW -- pwm3_min  */
474#define SENSORS_LM85_PWM3_MIN_CTL           74  /* RW -- pwm3_min_ctl  */
475#define SENSORS_LM85_PWM3_SPINUP            75  /* RW -- pwm3_spinup  */
476#define SENSORS_LM85_PWM3_SPINUP_CTL        76  /* RW -- pwm3_spinup_ctl  */
477#define SENSORS_LM85_PWM3_ZONE              77  /* RW -- pwm3_zone  */
478#define SENSORS_LM85_TEMP1                  78  /* R  -- temp1  */
479#define SENSORS_LM85_TEMP1_MAX              79  /* RW -- temp1_max  */
480#define SENSORS_LM85_TEMP1_MIN              80  /* RW -- temp1_min  */
481#define SENSORS_LM85_TEMP2                  81  /* R  -- temp2  */
482#define SENSORS_LM85_TEMP2_MAX              82  /* RW -- temp2_max  */
483#define SENSORS_LM85_TEMP2_MIN              83  /* RW -- temp2_min  */
484#define SENSORS_LM85_TEMP3                  84  /* R  -- temp3  */
485#define SENSORS_LM85_TEMP3_MAX              85  /* RW -- temp3_max  */
486#define SENSORS_LM85_TEMP3_MIN              86  /* RW -- temp3_min  */
487#define SENSORS_LM85_ZONE1_CRITICAL         87  /* RW -- zone1_critical  */
488#define SENSORS_LM85_ZONE1_HYST             88  /* RW -- zone1_hyst  */
489#define SENSORS_LM85_ZONE1_LIMIT            89  /* RW -- zone1_limit  */
490#define SENSORS_LM85_ZONE1_RANGE            90  /* RW -- zone1_range  */
491#define SENSORS_LM85_ZONE1_SMOOTH           91  /* RW -- zone1_smooth  */
492#define SENSORS_LM85_ZONE2_CRITICAL         92  /* RW -- zone2_critical  */
493#define SENSORS_LM85_ZONE2_HYST             93  /* RW -- zone2_hyst  */
494#define SENSORS_LM85_ZONE2_LIMIT            94  /* RW -- zone2_limit  */
495#define SENSORS_LM85_ZONE2_RANGE            95  /* RW -- zone2_range  */
496#define SENSORS_LM85_ZONE2_SMOOTH           96  /* RW -- zone2_smooth  */
497#define SENSORS_LM85_ZONE3_CRITICAL         97  /* RW -- zone3_critical  */
498#define SENSORS_LM85_ZONE3_HYST             98  /* RW -- zone3_hyst  */
499#define SENSORS_LM85_ZONE3_LIMIT            99  /* RW -- zone3_limit  */
500#define SENSORS_LM85_ZONE3_RANGE           100  /* RW -- zone3_range  */
501#define SENSORS_LM85_ZONE3_SMOOTH          101  /* RW -- zone3_smooth  */
502
503/* LM86/LM89/LM90/LM99/ADM1032/MAX6657/MAX6680/ADT7461 chips */
504
505#define SENSORS_LM90_PREFIX "lm90"
506#define SENSORS_ADM1032_PREFIX "adm1032"
507#define SENSORS_LM99_PREFIX "lm99"
508#define SENSORS_LM86_PREFIX "lm86"
509#define SENSORS_MAX6657_PREFIX "max6657"
510#define SENSORS_ADT7461_PREFIX "adt7461"
511#define SENSORS_MAX6680_PREFIX "max6680"
512
513#define SENSORS_LM90_LOCAL_TEMP 51 /* R */
514#define SENSORS_LM90_LOCAL_HIGH 52 /* RW */
515#define SENSORS_LM90_LOCAL_LOW 53 /* RW */
516#define SENSORS_LM90_LOCAL_TCRIT 54 /* RW */
517#define SENSORS_LM90_REMOTE_TEMP 57 /* R */
518#define SENSORS_LM90_REMOTE_HIGH 58 /* RW */
519#define SENSORS_LM90_REMOTE_LOW 59 /* RW */
520#define SENSORS_LM90_REMOTE_TCRIT 60 /* RW */
521#define SENSORS_LM90_LOCAL_TCRIT_HYST 79 /* RW */
522#define SENSORS_LM90_REMOTE_TCRIT_HYST 80 /* R, see driver source */
523#define SENSORS_LM90_ALARMS 81 /* R */
524
525/* LM63 chips */
526
527#define SENSORS_LM63_PREFIX "lm63"
528
529#define SENSORS_LM63_LOCAL_TEMP                 51 /* R  */
530#define SENSORS_LM63_LOCAL_HIGH                 52 /* RW */
531#define SENSORS_LM63_REMOTE_TEMP                57 /* R  */
532#define SENSORS_LM63_REMOTE_HIGH                58 /* RW */
533#define SENSORS_LM63_REMOTE_LOW                 59 /* RW */
534#define SENSORS_LM63_REMOTE_TCRIT               60 /* R  */
535#define SENSORS_LM63_REMOTE_TCRIT_HYST          80 /* RW */
536#define SENSORS_LM63_ALARMS                     81 /* R  */
537#define SENSORS_LM63_FAN                        84 /* R  */
538#define SENSORS_LM63_FAN_LOW                    85 /* RW */
539#define SENSORS_LM63_PWM                        87 /* RW */
540#define SENSORS_LM63_PWM_ENABLE                 88 /* RW */
541
542/* Winbond W83781D chips */
543
544#define SENSORS_W83781D_PREFIX "w83781d"
545
546#define SENSORS_W83781D_IN0 1 /* R */
547#define SENSORS_W83781D_IN1 2 /* R */
548#define SENSORS_W83781D_IN2 3 /* R */
549#define SENSORS_W83781D_IN3 4 /* R */
550#define SENSORS_W83781D_IN4 5 /* R */
551#define SENSORS_W83781D_IN5 6 /* R */
552#define SENSORS_W83781D_IN6 7 /* R */
553#define SENSORS_W83781D_IN0_MIN 11 /* RW */
554#define SENSORS_W83781D_IN1_MIN 12 /* RW */
555#define SENSORS_W83781D_IN2_MIN 13 /* RW */
556#define SENSORS_W83781D_IN3_MIN 14 /* RW */
557#define SENSORS_W83781D_IN4_MIN 15 /* RW */
558#define SENSORS_W83781D_IN5_MIN 16 /* RW */
559#define SENSORS_W83781D_IN6_MIN 17 /* RW */
560#define SENSORS_W83781D_IN0_MAX 21 /* RW */
561#define SENSORS_W83781D_IN1_MAX 22 /* RW */
562#define SENSORS_W83781D_IN2_MAX 23 /* RW */
563#define SENSORS_W83781D_IN3_MAX 24 /* RW */
564#define SENSORS_W83781D_IN4_MAX 25 /* RW */
565#define SENSORS_W83781D_IN5_MAX 26 /* RW */
566#define SENSORS_W83781D_IN6_MAX 27 /* RW */
567#define SENSORS_W83781D_FAN1 31 /* R */
568#define SENSORS_W83781D_FAN2 32 /* R */
569#define SENSORS_W83781D_FAN3 33 /* R */
570#define SENSORS_W83781D_FAN1_MIN 41 /* RW */
571#define SENSORS_W83781D_FAN2_MIN 42 /* RW */
572#define SENSORS_W83781D_FAN3_MIN 43 /* RW */
573#define SENSORS_W83781D_TEMP1 51 /* R */
574#define SENSORS_W83781D_TEMP1_HYST 52 /* RW */
575#define SENSORS_W83781D_TEMP1_OVER 53 /* RW */
576#define SENSORS_W83781D_TEMP2 54 /* R */
577#define SENSORS_W83781D_TEMP2_HYST 55 /* RW */
578#define SENSORS_W83781D_TEMP2_OVER 56 /* RW */
579#define SENSORS_W83781D_TEMP3 57 /* R */
580#define SENSORS_W83781D_TEMP3_HYST 58 /* RW */
581#define SENSORS_W83781D_TEMP3_OVER 59 /* RW */
582#define SENSORS_W83781D_VID 61 /* R */
583#define SENSORS_W83781D_VRM 62 /* RW */
584#define SENSORS_W83781D_FAN1_DIV 71 /* RW */
585#define SENSORS_W83781D_FAN2_DIV 72 /* RW */
586#define SENSORS_W83781D_FAN3_DIV 73 /* R (yes, really! */
587#define SENSORS_W83781D_ALARMS 81 /* R */
588#define SENSORS_W83781D_BEEP_ENABLE 82 /* RW */
589#define SENSORS_W83781D_BEEPS 83 /* RW */
590#define SENSORS_W83781D_SENS1 91 /* RW */
591#define SENSORS_W83781D_SENS2 92 /* RW */
592#define SENSORS_W83781D_SENS3 93 /* RW */
593
594
595/* Winbond W83782D chips */
596/* Cheat on 627HF for now - no separate #defines */
597/* Cheat on 127F for now - no separate #defines */
598
599#define SENSORS_W83782D_PREFIX "w83782d"
600#define SENSORS_W83627HF_PREFIX "w83627hf"
601#define SENSORS_W83627THF_PREFIX "w83627thf"
602#define SENSORS_W83637HF_PREFIX "w83637hf"
603#define SENSORS_W83687THF_PREFIX "w83687thf"
604
605#define SENSORS_W83791D_PREFIX "w83791d"
606
607
608#define SENSORS_W83791D_IN0 1 /* R */
609#define SENSORS_W83791D_IN1 2 /* R */
610#define SENSORS_W83791D_IN2 3 /* R */
611#define SENSORS_W83791D_IN3 4 /* R */
612#define SENSORS_W83791D_IN4 5 /* R */
613#define SENSORS_W83791D_IN5 6 /* R */
614#define SENSORS_W83791D_IN6 7 /* R */
615#define SENSORS_W83791D_IN7 8 /* R */
616#define SENSORS_W83791D_IN8 9 /* R */
617#define SENSORS_W83791D_IN9 10 /* R */
618
619#define SENSORS_W83791D_IN0_MIN 11 /* RW */
620#define SENSORS_W83791D_IN1_MIN 12 /* RW */
621#define SENSORS_W83791D_IN2_MIN 13 /* RW */
622#define SENSORS_W83791D_IN3_MIN 14 /* RW */
623#define SENSORS_W83791D_IN4_MIN 15 /* RW */
624#define SENSORS_W83791D_IN5_MIN 16 /* RW */
625#define SENSORS_W83791D_IN6_MIN 17 /* RW */
626#define SENSORS_W83791D_IN7_MIN 18 /* RW */
627#define SENSORS_W83791D_IN8_MIN 19 /* RW */
628#define SENSORS_W83791D_IN9_MIN 20 /* RW */
629
630#define SENSORS_W83791D_IN0_MAX 21 /* RW */
631#define SENSORS_W83791D_IN1_MAX 22 /* RW */
632#define SENSORS_W83791D_IN2_MAX 23 /* RW */
633#define SENSORS_W83791D_IN3_MAX 24 /* RW */
634#define SENSORS_W83791D_IN4_MAX 25 /* RW */
635#define SENSORS_W83791D_IN5_MAX 26 /* RW */
636#define SENSORS_W83791D_IN6_MAX 27 /* RW */
637#define SENSORS_W83791D_IN7_MAX 28 /* RW */
638#define SENSORS_W83791D_IN8_MAX 29 /* RW */
639#define SENSORS_W83791D_IN9_MAX 30 /* RW */
640
641#define SENSORS_W83791D_FAN1 31 /* R */
642#define SENSORS_W83791D_FAN2 32 /* R */
643#define SENSORS_W83791D_FAN3 33 /* R */
644#define SENSORS_W83791D_FAN4 34 /* R */
645#define SENSORS_W83791D_FAN5 35 /* R */
646
647#define SENSORS_W83791D_FAN1_MIN 41 /* RW */
648#define SENSORS_W83791D_FAN2_MIN 42 /* RW */
649#define SENSORS_W83791D_FAN3_MIN 43 /* RW */
650#define SENSORS_W83791D_FAN4_MIN 44 /* RW */
651#define SENSORS_W83791D_FAN5_MIN 45 /* RW */
652
653#define SENSORS_W83791D_TEMP1 51 /* R */
654#define SENSORS_W83791D_TEMP1_HYST 52 /* RW */
655#define SENSORS_W83791D_TEMP1_OVER 53 /* RW */
656#define SENSORS_W83791D_TEMP2 54 /* R */
657#define SENSORS_W83791D_TEMP2_HYST 55 /* RW */
658#define SENSORS_W83791D_TEMP2_OVER 56 /* RW */
659#define SENSORS_W83791D_TEMP3 57 /* R */
660#define SENSORS_W83791D_TEMP3_HYST 58 /* RW */
661#define SENSORS_W83791D_TEMP3_OVER 59 /* RW */
662#define SENSORS_W83791D_VID 61 /* R */
663#define SENSORS_W83791D_VRM 62 /* RW */
664
665#define SENSORS_W83791D_FAN1_DIV 71 /* RW */
666#define SENSORS_W83791D_FAN2_DIV 72 /* RW */
667#define SENSORS_W83791D_FAN3_DIV 73 /* R (yes, really! */
668#define SENSORS_W83791D_FAN4_DIV 74 /* R (yes, really! */
669#define SENSORS_W83791D_FAN5_DIV 75 /* R (yes, really! */
670
671#define SENSORS_W83791D_ALARMS 81 /* R */
672#define SENSORS_W83791D_BEEP_ENABLE 82 /* RW */
673#define SENSORS_W83791D_BEEPS 83 /* RW */
674#define SENSORS_W83791D_SENS1 91 /* RW */
675#define SENSORS_W83791D_SENS2 92 /* RW */
676#define SENSORS_W83791D_SENS3 93 /* RW */
677
678
679
680/* Winbond W83792AD/D chip */
681#define SENSORS_W83792D_PREFIX "w83792d"
682
683
684#define SENSORS_W83792D_IN0 1 /* R */
685#define SENSORS_W83792D_IN1 2 /* R */
686#define SENSORS_W83792D_IN2 3 /* R */
687#define SENSORS_W83792D_IN3 4 /* R */
688#define SENSORS_W83792D_IN4 5 /* R */
689#define SENSORS_W83792D_IN5 6 /* R */
690#define SENSORS_W83792D_IN6 7 /* R */
691#define SENSORS_W83792D_IN7 8 /* R */
692#define SENSORS_W83792D_IN8 9 /* R */
693#define SENSORS_W83792D_IN9 10 /* R */
694
695#define SENSORS_W83792D_IN0_MIN 11 /* RW */
696#define SENSORS_W83792D_IN1_MIN 12 /* RW */
697#define SENSORS_W83792D_IN2_MIN 13 /* RW */
698#define SENSORS_W83792D_IN3_MIN 14 /* RW */
699#define SENSORS_W83792D_IN4_MIN 15 /* RW */
700#define SENSORS_W83792D_IN5_MIN 16 /* RW */
701#define SENSORS_W83792D_IN6_MIN 17 /* RW */
702#define SENSORS_W83792D_IN7_MIN 18 /* RW */
703#define SENSORS_W83792D_IN8_MIN 19 /* RW */
704#define SENSORS_W83792D_IN9_MIN 20 /* RW */
705
706#define SENSORS_W83792D_IN0_MAX 21 /* RW */
707#define SENSORS_W83792D_IN1_MAX 22 /* RW */
708#define SENSORS_W83792D_IN2_MAX 23 /* RW */
709#define SENSORS_W83792D_IN3_MAX 24 /* RW */
710#define SENSORS_W83792D_IN4_MAX 25 /* RW */
711#define SENSORS_W83792D_IN5_MAX 26 /* RW */
712#define SENSORS_W83792D_IN6_MAX 27 /* RW */
713#define SENSORS_W83792D_IN7_MAX 28 /* RW */
714#define SENSORS_W83792D_IN8_MAX 29 /* RW */
715#define SENSORS_W83792D_IN9_MAX 30 /* RW */
716
717#define SENSORS_W83792D_FAN1 31 /* R */
718#define SENSORS_W83792D_FAN2 32 /* R */
719#define SENSORS_W83792D_FAN3 33 /* R */
720#define SENSORS_W83792D_FAN4 34 /* R */
721#define SENSORS_W83792D_FAN5 35 /* R */
722#define SENSORS_W83792D_FAN6 36 /* R */
723#define SENSORS_W83792D_FAN7 37 /* R */
724
725#define SENSORS_W83792D_FAN1_MIN 41 /* RW */
726#define SENSORS_W83792D_FAN2_MIN 42 /* RW */
727#define SENSORS_W83792D_FAN3_MIN 43 /* RW */
728#define SENSORS_W83792D_FAN4_MIN 44 /* RW */
729#define SENSORS_W83792D_FAN5_MIN 45 /* RW */
730#define SENSORS_W83792D_FAN6_MIN 46 /* RW */
731#define SENSORS_W83792D_FAN7_MIN 47 /* RW */
732
733#define SENSORS_W83792D_TEMP1 51      /* R */
734#define SENSORS_W83792D_TEMP1_HYST 52 /* RW */
735#define SENSORS_W83792D_TEMP1_OVER 53 /* RW */
736#define SENSORS_W83792D_TEMP2 54      /* R */
737#define SENSORS_W83792D_TEMP2_HYST 55 /* RW */
738#define SENSORS_W83792D_TEMP2_OVER 56 /* RW */
739#define SENSORS_W83792D_TEMP3 57      /* R */
740#define SENSORS_W83792D_TEMP3_HYST 58 /* RW */
741#define SENSORS_W83792D_TEMP3_OVER 59 /* RW */
742/*#define SENSORS_W83792D_VID 61 */   /* R */
743/*#define SENSORS_W83792D_VRM 62 */   /* RW */
744#define SENSORS_W83792D_CHASSIS 63    /* R */
745#define SENSORS_W83792D_ALARMS 64     /* R */
746
747#define SENSORS_W83792D_FAN1_DIV 71 /* RW */
748#define SENSORS_W83792D_FAN2_DIV 72 /* RW */
749#define SENSORS_W83792D_FAN3_DIV 73 /* RW */
750#define SENSORS_W83792D_FAN4_DIV 74 /* RW */
751#define SENSORS_W83792D_FAN5_DIV 75 /* RW */
752#define SENSORS_W83792D_FAN6_DIV 76 /* RW */
753#define SENSORS_W83792D_FAN7_DIV 77 /* RW */
754
755
756/* Winbond W83793R chip */
757#define SENSORS_W83793_PREFIX "w83793"
758
759#define SENSORS_W83793_IN(n)            (0 + (n))  /* n(0-9) R */
760#define SENSORS_W83793_IN_MIN(n)        (20 + (n)) /* n(0-9) RW */
761#define SENSORS_W83793_IN_MAX(n)        (40 + (n)) /* n(0-9) RW */
762#define SENSORS_W83793_IN_ALARM(n)      (60 + (n)) /* n(0-9) R */
763
764#define SENSORS_W83793_FAN(n)           (80 + (n))  /* n(1-12) R */
765#define SENSORS_W83793_FAN_MIN(n)       (100 + (n)) /* n(1-12) RW */
766#define SENSORS_W83793_FAN_ALARM(n)     (120 + (n)) /* n(1-12) R */
767
768
769#define SENSORS_W83793_TEMP(n)          (140 + (n)) /* n(1-6) R */
770#define SENSORS_W83793_TEMP_CRIT(n)     (160 + (n)) /* n(1-6) RW */
771#define SENSORS_W83793_TEMP_CRIT_HYST(n) (180 + (n)) /* n(1-6) RW */
772#define SENSORS_W83793_TEMP_ALARM(n)    (200 + (n)) /* n(1-6) R */
773
774#define SENSORS_W83793_VID0             221 /* R */
775#define SENSORS_W83793_VID1             222 /* R */
776#define SENSORS_W83793_VRM              230 /* RW */
777#define SENSORS_W83793_CHASSIS          240 /* RW */
778
779
780#define SENSORS_AS99127F_PREFIX "as99127f"
781
782#define SENSORS_W83782D_IN0 1 /* R */
783#define SENSORS_W83782D_IN1 2 /* R */
784#define SENSORS_W83782D_IN2 3 /* R */
785#define SENSORS_W83782D_IN3 4 /* R */
786#define SENSORS_W83782D_IN4 5 /* R */
787#define SENSORS_W83782D_IN5 6 /* R */
788#define SENSORS_W83782D_IN6 7 /* R */
789#define SENSORS_W83782D_IN7 8 /* R */
790#define SENSORS_W83782D_IN8 9 /* R */
791#define SENSORS_W83782D_IN0_MIN 11 /* RW */
792#define SENSORS_W83782D_IN1_MIN 12 /* RW */
793#define SENSORS_W83782D_IN2_MIN 13 /* RW */
794#define SENSORS_W83782D_IN3_MIN 14 /* RW */
795#define SENSORS_W83782D_IN4_MIN 15 /* RW */
796#define SENSORS_W83782D_IN5_MIN 16 /* RW */
797#define SENSORS_W83782D_IN6_MIN 17 /* RW */
798#define SENSORS_W83782D_IN7_MIN 18 /* RW */
799#define SENSORS_W83782D_IN8_MIN 19 /* RW */
800#define SENSORS_W83782D_IN0_MAX 21 /* RW */
801#define SENSORS_W83782D_IN1_MAX 22 /* RW */
802#define SENSORS_W83782D_IN2_MAX 23 /* RW */
803#define SENSORS_W83782D_IN3_MAX 24 /* RW */
804#define SENSORS_W83782D_IN4_MAX 25 /* RW */
805#define SENSORS_W83782D_IN5_MAX 26 /* RW */
806#define SENSORS_W83782D_IN6_MAX 27 /* RW */
807#define SENSORS_W83782D_IN7_MAX 28 /* RW */
808#define SENSORS_W83782D_IN8_MAX 29 /* RW */
809#define SENSORS_W83782D_FAN1 31 /* R */
810#define SENSORS_W83782D_FAN2 32 /* R */
811#define SENSORS_W83782D_FAN3 33 /* R */
812#define SENSORS_W83782D_FAN1_MIN 41 /* RW */
813#define SENSORS_W83782D_FAN2_MIN 42 /* RW */
814#define SENSORS_W83782D_FAN3_MIN 43 /* RW */
815#define SENSORS_W83782D_TEMP1 51 /* R */
816#define SENSORS_W83782D_TEMP1_HYST 52 /* RW */
817#define SENSORS_W83782D_TEMP1_OVER 53 /* RW */
818#define SENSORS_W83782D_TEMP2 54 /* R */
819#define SENSORS_W83782D_TEMP2_HYST 55 /* RW */
820#define SENSORS_W83782D_TEMP2_OVER 56 /* RW */
821#define SENSORS_W83782D_TEMP3 57 /* R */
822#define SENSORS_W83782D_TEMP3_HYST 58 /* RW */
823#define SENSORS_W83782D_TEMP3_OVER 59 /* RW */
824#define SENSORS_W83782D_VID 61 /* R */
825#define SENSORS_W83782D_VRM 62 /* RW */
826#define SENSORS_W83782D_FAN1_DIV 71 /* RW */
827#define SENSORS_W83782D_FAN2_DIV 72 /* RW */
828#define SENSORS_W83782D_FAN3_DIV 73 /* R (yes, really! */
829#define SENSORS_W83782D_ALARMS 81 /* R */
830#define SENSORS_W83782D_BEEP_ENABLE 82 /* RW */
831#define SENSORS_W83782D_BEEPS 83 /* RW */
832#define SENSORS_W83782D_SENS1 91 /* RW */
833#define SENSORS_W83782D_SENS2 92 /* RW */
834#define SENSORS_W83782D_SENS3 93 /* RW */
835
836
837/* Winbond W83783S chips */
838/* Cheat on 697HF for now - no separate #defines */
839
840#define SENSORS_W83783S_PREFIX "w83783s"
841#define SENSORS_W83697HF_PREFIX "w83697hf"
842
843#define SENSORS_W83783S_IN0 1 /* R */
844#define SENSORS_W83783S_IN1 2 /* R */
845#define SENSORS_W83783S_IN2 3 /* R */
846#define SENSORS_W83783S_IN3 4 /* R */
847#define SENSORS_W83783S_IN4 5 /* R */
848#define SENSORS_W83783S_IN5 6 /* R */
849#define SENSORS_W83783S_IN6 7 /* R */
850#define SENSORS_W83783S_IN0_MIN 11 /* RW */
851#define SENSORS_W83783S_IN1_MIN 12 /* RW */
852#define SENSORS_W83783S_IN2_MIN 13 /* RW */
853#define SENSORS_W83783S_IN3_MIN 14 /* RW */
854#define SENSORS_W83783S_IN4_MIN 15 /* RW */
855#define SENSORS_W83783S_IN5_MIN 16 /* RW */
856#define SENSORS_W83783S_IN6_MIN 17 /* RW */
857#define SENSORS_W83783S_IN0_MAX 21 /* RW */
858#define SENSORS_W83783S_IN1_MAX 22 /* RW */
859#define SENSORS_W83783S_IN2_MAX 23 /* RW */
860#define SENSORS_W83783S_IN3_MAX 24 /* RW */
861#define SENSORS_W83783S_IN4_MAX 25 /* RW */
862#define SENSORS_W83783S_IN5_MAX 26 /* RW */
863#define SENSORS_W83783S_IN6_MAX 27 /* RW */
864#define SENSORS_W83783S_FAN1 31 /* R */
865#define SENSORS_W83783S_FAN2 32 /* R */
866#define SENSORS_W83783S_FAN3 33 /* R */
867#define SENSORS_W83783S_FAN1_MIN 41 /* RW */
868#define SENSORS_W83783S_FAN2_MIN 42 /* RW */
869#define SENSORS_W83783S_FAN3_MIN 43 /* RW */
870#define SENSORS_W83783S_TEMP1 51 /* R */
871#define SENSORS_W83783S_TEMP1_HYST 52 /* RW */
872#define SENSORS_W83783S_TEMP1_OVER 53 /* RW */
873#define SENSORS_W83783S_TEMP2 54 /* R */
874#define SENSORS_W83783S_TEMP2_HYST 55 /* RW */
875#define SENSORS_W83783S_TEMP2_OVER 56 /* RW */
876#define SENSORS_W83783S_VID 61 /* R */
877#define SENSORS_W83783S_VRM 62 /* RW */
878#define SENSORS_W83783S_FAN1_DIV 71 /* RW */
879#define SENSORS_W83783S_FAN2_DIV 72 /* RW */
880#define SENSORS_W83783S_FAN3_DIV 73 /* R (yes, really! */
881#define SENSORS_W83783S_ALARMS 81 /* R */
882#define SENSORS_W83783S_BEEP_ENABLE 82 /* RW */
883#define SENSORS_W83783S_BEEPS 83 /* RW */
884#define SENSORS_W83783S_SENS1 91 /* RW */
885#define SENSORS_W83783S_SENS2 92 /* RW */
886
887
888/* W83L785TS-S chips */
889
890#define SENSORS_W83L785TS_PREFIX "w83l785ts"
891
892#define SENSORS_W83L785TS_TEMP          51 /* R */
893#define SENSORS_W83L785TS_TEMP_OVER     52 /* R for now */
894
895
896/* Winbond W83627EHF & W83627DHG Super-I/O chips */
897/* (W83627DHG is similar to W83627EHF but no in9) */
898
899#define SENSORS_W83627EHF_PREFIX        "w83627ehf"
900#define SENSORS_W83627DHG_PREFIX        "w83627dhg"
901
902#define SENSORS_W83627EHF_IN0           1 /* R */
903#define SENSORS_W83627EHF_IN1           2 /* R */
904#define SENSORS_W83627EHF_IN2           3 /* R */
905#define SENSORS_W83627EHF_IN3           4 /* R */
906#define SENSORS_W83627EHF_IN4           5 /* R */
907#define SENSORS_W83627EHF_IN5           6 /* R */
908#define SENSORS_W83627EHF_IN6           7 /* R */
909#define SENSORS_W83627EHF_IN7           8 /* R */
910#define SENSORS_W83627EHF_IN8           9 /* R */
911#define SENSORS_W83627EHF_IN9           10 /* R */
912#define SENSORS_W83627EHF_IN0_ALARM     111 /* R */
913#define SENSORS_W83627EHF_IN1_ALARM     112 /* R */
914#define SENSORS_W83627EHF_IN2_ALARM     113 /* R */
915#define SENSORS_W83627EHF_IN3_ALARM     114 /* R */
916#define SENSORS_W83627EHF_IN4_ALARM     115 /* R */
917#define SENSORS_W83627EHF_IN5_ALARM     116 /* R */
918#define SENSORS_W83627EHF_IN6_ALARM     117 /* R */
919#define SENSORS_W83627EHF_IN7_ALARM     118 /* R */
920#define SENSORS_W83627EHF_IN8_ALARM     119 /* R */
921#define SENSORS_W83627EHF_IN9_ALARM     120 /* R */
922#define SENSORS_W83627EHF_IN0_MIN       11 /* RW */
923#define SENSORS_W83627EHF_IN1_MIN       12 /* RW */
924#define SENSORS_W83627EHF_IN2_MIN       13 /* RW */
925#define SENSORS_W83627EHF_IN3_MIN       14 /* RW */
926#define SENSORS_W83627EHF_IN4_MIN       15 /* RW */
927#define SENSORS_W83627EHF_IN5_MIN       16 /* RW */
928#define SENSORS_W83627EHF_IN6_MIN       17 /* RW */
929#define SENSORS_W83627EHF_IN7_MIN       18 /* RW */
930#define SENSORS_W83627EHF_IN8_MIN       19 /* RW */
931#define SENSORS_W83627EHF_IN9_MIN       20 /* RW */
932#define SENSORS_W83627EHF_IN0_MAX       21 /* RW */
933#define SENSORS_W83627EHF_IN1_MAX       22 /* RW */
934#define SENSORS_W83627EHF_IN2_MAX       23 /* RW */
935#define SENSORS_W83627EHF_IN3_MAX       24 /* RW */
936#define SENSORS_W83627EHF_IN4_MAX       25 /* RW */
937#define SENSORS_W83627EHF_IN5_MAX       26 /* RW */
938#define SENSORS_W83627EHF_IN6_MAX       27 /* RW */
939#define SENSORS_W83627EHF_IN7_MAX       28 /* RW */
940#define SENSORS_W83627EHF_IN8_MAX       29 /* RW */
941#define SENSORS_W83627EHF_IN9_MAX       30 /* RW */
942#define SENSORS_W83627EHF_FAN1          31 /* R  */
943#define SENSORS_W83627EHF_FAN2          32 /* R  */
944#define SENSORS_W83627EHF_FAN3          33 /* R  */
945#define SENSORS_W83627EHF_FAN4          34 /* R  */
946#define SENSORS_W83627EHF_FAN5          35 /* R  */
947#define SENSORS_W83627EHF_FAN1_ALARM    131 /* R  */
948#define SENSORS_W83627EHF_FAN2_ALARM    132 /* R  */
949#define SENSORS_W83627EHF_FAN3_ALARM    133 /* R  */
950#define SENSORS_W83627EHF_FAN4_ALARM    134 /* R  */
951#define SENSORS_W83627EHF_FAN5_ALARM    135 /* R  */
952#define SENSORS_W83627EHF_FAN1_MIN      41 /* RW */
953#define SENSORS_W83627EHF_FAN2_MIN      42 /* RW */
954#define SENSORS_W83627EHF_FAN3_MIN      43 /* RW */
955#define SENSORS_W83627EHF_FAN4_MIN      44 /* RW */
956#define SENSORS_W83627EHF_FAN5_MIN      45 /* RW */
957#define SENSORS_W83627EHF_FAN1_DIV      51 /* RW */
958#define SENSORS_W83627EHF_FAN2_DIV      52 /* RW */
959#define SENSORS_W83627EHF_FAN3_DIV      53 /* RW */
960#define SENSORS_W83627EHF_FAN4_DIV      54 /* RW */
961#define SENSORS_W83627EHF_FAN5_DIV      55 /* RW */
962#define SENSORS_W83627EHF_TEMP1         61 /* R  */
963#define SENSORS_W83627EHF_TEMP2         62 /* R  */
964#define SENSORS_W83627EHF_TEMP3         63 /* R  */
965#define SENSORS_W83627EHF_TEMP1_ALARM   161 /* R  */
966#define SENSORS_W83627EHF_TEMP2_ALARM   162 /* R  */
967#define SENSORS_W83627EHF_TEMP3_ALARM   163 /* R  */
968#define SENSORS_W83627EHF_TEMP1_OVER    71 /* RW */
969#define SENSORS_W83627EHF_TEMP2_OVER    72 /* RW */
970#define SENSORS_W83627EHF_TEMP3_OVER    73 /* RW */
971#define SENSORS_W83627EHF_TEMP1_HYST    81 /* RW */
972#define SENSORS_W83627EHF_TEMP2_HYST    82 /* RW */
973#define SENSORS_W83627EHF_TEMP3_HYST    83 /* RW */
974#define SENSORS_W83627EHF_ALARMS        250 /* R  */
975
976
977/* Analog Devices ADM9240 chips */
978
979#define SENSORS_ADM9240_PREFIX "adm9240"
980#define SENSORS_LM81_PREFIX "lm81"
981#define SENSORS_DS1780_PREFIX "ds1780"
982
983/* All three chips have the same features */
984#define SENSORS_ADM9240_IN0 1 /* R */
985#define SENSORS_ADM9240_IN1 2 /* R */
986#define SENSORS_ADM9240_IN2 3 /* R */
987#define SENSORS_ADM9240_IN3 4 /* R */
988#define SENSORS_ADM9240_IN4 5 /* R */
989#define SENSORS_ADM9240_IN5 6 /* R */
990#define SENSORS_ADM9240_IN0_MIN 11 /* RW */
991#define SENSORS_ADM9240_IN1_MIN 12 /* RW */
992#define SENSORS_ADM9240_IN2_MIN 13 /* RW */
993#define SENSORS_ADM9240_IN3_MIN 14 /* RW */
994#define SENSORS_ADM9240_IN4_MIN 15 /* RW */
995#define SENSORS_ADM9240_IN5_MIN 16 /* RW */
996#define SENSORS_ADM9240_IN0_MAX 21 /* RW */
997#define SENSORS_ADM9240_IN1_MAX 22 /* RW */
998#define SENSORS_ADM9240_IN2_MAX 23 /* RW */
999#define SENSORS_ADM9240_IN3_MAX 24 /* RW */
1000#define SENSORS_ADM9240_IN4_MAX 25 /* RW */
1001#define SENSORS_ADM9240_IN5_MAX 26 /* RW */
1002#define SENSORS_ADM9240_FAN1 31 /* R */
1003#define SENSORS_ADM9240_FAN2 32 /* R */
1004#define SENSORS_ADM9240_FAN1_MIN 41 /* RW */
1005#define SENSORS_ADM9240_FAN2_MIN 42 /* RW */
1006#define SENSORS_ADM9240_TEMP 51 /* R */
1007#define SENSORS_ADM9240_TEMP_HYST 52 /* RW */
1008#define SENSORS_ADM9240_TEMP_OVER 53 /* RW */
1009#define SENSORS_ADM9240_VID 61 /* R */
1010#define SENSORS_ADM9240_FAN1_DIV 71 /* RW */
1011#define SENSORS_ADM9240_FAN2_DIV 72 /* RW */
1012#define SENSORS_ADM9240_ALARMS 81 /* R */
1013#define SENSORS_ADM9240_ANALOG_OUT 82 /* RW */
1014
1015
1016/* SiS southbridge with integrated lm78 */
1017
1018#define SENSORS_SIS5595_PREFIX "sis5595"
1019
1020#define SENSORS_SIS5595_IN0 1 /* R */
1021#define SENSORS_SIS5595_IN1 2 /* R */
1022#define SENSORS_SIS5595_IN2 3 /* R */
1023#define SENSORS_SIS5595_IN3 4 /* R */
1024#define SENSORS_SIS5595_IN4 5 /* R */
1025#define SENSORS_SIS5595_IN0_MIN 11 /* RW */
1026#define SENSORS_SIS5595_IN1_MIN 12 /* RW */
1027#define SENSORS_SIS5595_IN2_MIN 13 /* RW */
1028#define SENSORS_SIS5595_IN3_MIN 14 /* RW */
1029#define SENSORS_SIS5595_IN4_MIN 15 /* RW */
1030#define SENSORS_SIS5595_IN0_MAX 21 /* RW */
1031#define SENSORS_SIS5595_IN1_MAX 22 /* RW */
1032#define SENSORS_SIS5595_IN2_MAX 23 /* RW */
1033#define SENSORS_SIS5595_IN3_MAX 24 /* RW */
1034#define SENSORS_SIS5595_IN4_MAX 25 /* RW */
1035#define SENSORS_SIS5595_FAN1 31 /* R */
1036#define SENSORS_SIS5595_FAN2 32 /* R */
1037#define SENSORS_SIS5595_FAN1_MIN 41 /* RW */
1038#define SENSORS_SIS5595_FAN2_MIN 42 /* RW */
1039#define SENSORS_SIS5595_TEMP 51 /* R */
1040#define SENSORS_SIS5595_TEMP_HYST 52 /* RW */
1041#define SENSORS_SIS5595_TEMP_OVER 53 /* RW */
1042#define SENSORS_SIS5595_FAN1_DIV 71 /* RW */
1043#define SENSORS_SIS5595_FAN2_DIV 72 /* RW */
1044#define SENSORS_SIS5595_ALARMS 81 /* R */
1045
1046
1047/* HP MaxiLife chips */
1048
1049#define SENSORS_MAXI_CG_PREFIX "maxilife-cg"
1050#define SENSORS_MAXI_CO_PREFIX "maxilife-co"
1051#define SENSORS_MAXI_AS_PREFIX "maxilife-as"
1052#define SENSORS_MAXI_NBA_PREFIX "maxilife-nba"
1053
1054#define SENSORS_MAXI_CG_FAN1 1 /* R */
1055#define SENSORS_MAXI_CG_FAN2 2 /* R */
1056#define SENSORS_MAXI_CG_FAN3 3 /* R */
1057#define SENSORS_MAXI_CG_FAN1_MIN 11 /* RW */
1058#define SENSORS_MAXI_CG_FAN2_MIN 12 /* RW */
1059#define SENSORS_MAXI_CG_FAN3_MIN 13 /* RW */
1060#define SENSORS_MAXI_CG_FAN1_DIV 14 /* R */
1061#define SENSORS_MAXI_CG_FAN2_DIV 15 /* R */
1062#define SENSORS_MAXI_CG_FAN3_DIV 16 /* R */
1063#define SENSORS_MAXI_CG_TEMP1 21 /* R */
1064#define SENSORS_MAXI_CG_TEMP2 22 /* R */
1065#define SENSORS_MAXI_CG_TEMP3 23 /* R */
1066#define SENSORS_MAXI_CG_TEMP4 24 /* R */
1067#define SENSORS_MAXI_CG_TEMP5 25 /* R */
1068#define SENSORS_MAXI_CG_TEMP1_MAX 31 /* R */
1069#define SENSORS_MAXI_CG_TEMP2_MAX 32 /* R */
1070#define SENSORS_MAXI_CG_TEMP3_MAX 33 /* R */
1071#define SENSORS_MAXI_CG_TEMP4_MAX 34 /* R */
1072#define SENSORS_MAXI_CG_TEMP5_MAX 35 /* R */
1073#define SENSORS_MAXI_CG_TEMP1_HYST 41 /* R */
1074#define SENSORS_MAXI_CG_TEMP2_HYST 42 /* R */
1075#define SENSORS_MAXI_CG_TEMP3_HYST 43 /* R */
1076#define SENSORS_MAXI_CG_TEMP4_HYST 44 /* R */
1077#define SENSORS_MAXI_CG_TEMP5_HYST 45 /* R */
1078#define SENSORS_MAXI_CG_PLL 51 /* R */
1079#define SENSORS_MAXI_CG_PLL_MIN 52 /* RW */
1080#define SENSORS_MAXI_CG_PLL_MAX 53 /* RW */
1081#define SENSORS_MAXI_CG_VID1 61 /* R */
1082#define SENSORS_MAXI_CG_VID2 62 /* R */
1083#define SENSORS_MAXI_CG_VID3 63 /* R */
1084#define SENSORS_MAXI_CG_VID4 64 /* R */
1085#define SENSORS_MAXI_CG_VID1_MIN 71 /* RW */
1086#define SENSORS_MAXI_CG_VID2_MIN 72 /* RW */
1087#define SENSORS_MAXI_CG_VID3_MIN 73 /* RW */
1088#define SENSORS_MAXI_CG_VID4_MIN 74 /* RW */
1089#define SENSORS_MAXI_CG_VID1_MAX 81 /* RW */
1090#define SENSORS_MAXI_CG_VID2_MAX 82 /* RW */
1091#define SENSORS_MAXI_CG_VID3_MAX 83 /* RW */
1092#define SENSORS_MAXI_CG_VID4_MAX 84 /* RW */
1093#define SENSORS_MAXI_CG_ALARMS 91 /* R */
1094
1095#define SENSORS_MAXI_CO_FAN1 1 /* R */
1096#define SENSORS_MAXI_CO_FAN2 2 /* R */
1097#define SENSORS_MAXI_CO_FAN3 3 /* R */
1098#define SENSORS_MAXI_CO_FAN1_MIN 11 /* RW */
1099#define SENSORS_MAXI_CO_FAN2_MIN 12 /* RW */
1100#define SENSORS_MAXI_CO_FAN3_MIN 13 /* RW */
1101#define SENSORS_MAXI_CO_FAN1_DIV 14 /* R */
1102#define SENSORS_MAXI_CO_FAN2_DIV 15 /* R */
1103#define SENSORS_MAXI_CO_FAN3_DIV 16 /* R */
1104#define SENSORS_MAXI_CO_TEMP1 21 /* R */
1105#define SENSORS_MAXI_CO_TEMP2 22 /* R */
1106#define SENSORS_MAXI_CO_TEMP3 23 /* R */
1107#define SENSORS_MAXI_CO_TEMP4 24 /* R */
1108#define SENSORS_MAXI_CO_TEMP5 25 /* R */
1109#define SENSORS_MAXI_CO_TEMP1_MAX 31 /* R */
1110#define SENSORS_MAXI_CO_TEMP2_MAX 32 /* R */
1111#define SENSORS_MAXI_CO_TEMP3_MAX 33 /* R */
1112#define SENSORS_MAXI_CO_TEMP4_MAX 34 /* R */
1113#define SENSORS_MAXI_CO_TEMP5_MAX 35 /* R */
1114#define SENSORS_MAXI_CO_TEMP1_HYST 41 /* R */
1115#define SENSORS_MAXI_CO_TEMP2_HYST 42 /* R */
1116#define SENSORS_MAXI_CO_TEMP3_HYST 43 /* R */
1117#define SENSORS_MAXI_CO_TEMP4_HYST 44 /* R */
1118#define SENSORS_MAXI_CO_TEMP5_HYST 45 /* R */
1119#define SENSORS_MAXI_CO_PLL 51 /* R */
1120#define SENSORS_MAXI_CO_PLL_MIN 52 /* RW */
1121#define SENSORS_MAXI_CO_PLL_MAX 53 /* RW */
1122#define SENSORS_MAXI_CO_VID1 61 /* R */
1123#define SENSORS_MAXI_CO_VID2 62 /* R */
1124#define SENSORS_MAXI_CO_VID3 63 /* R */
1125#define SENSORS_MAXI_CO_VID4 64 /* R */
1126#define SENSORS_MAXI_CO_VID1_MIN 71 /* RW */
1127#define SENSORS_MAXI_CO_VID2_MIN 72 /* RW */
1128#define SENSORS_MAXI_CO_VID3_MIN 73 /* RW */
1129#define SENSORS_MAXI_CO_VID4_MIN 74 /* RW */
1130#define SENSORS_MAXI_CO_VID1_MAX 81 /* RW */
1131#define SENSORS_MAXI_CO_VID2_MAX 82 /* RW */
1132#define SENSORS_MAXI_CO_VID3_MAX 83 /* RW */
1133#define SENSORS_MAXI_CO_VID4_MAX 84 /* RW */
1134#define SENSORS_MAXI_CO_ALARMS 91 /* R */
1135
1136#define SENSORS_MAXI_AS_FAN1 1 /* R */
1137#define SENSORS_MAXI_AS_FAN2 2 /* R */
1138#define SENSORS_MAXI_AS_FAN3 3 /* R */
1139#define SENSORS_MAXI_AS_FAN1_MIN 11 /* RW */
1140#define SENSORS_MAXI_AS_FAN2_MIN 12 /* RW */
1141#define SENSORS_MAXI_AS_FAN3_MIN 13 /* RW */
1142#define SENSORS_MAXI_AS_FAN1_DIV 14 /* R */
1143#define SENSORS_MAXI_AS_FAN2_DIV 15 /* R */
1144#define SENSORS_MAXI_AS_FAN3_DIV 16 /* R */
1145#define SENSORS_MAXI_AS_TEMP1 21 /* R */
1146#define SENSORS_MAXI_AS_TEMP2 22 /* R */
1147#define SENSORS_MAXI_AS_TEMP3 23 /* R */
1148#define SENSORS_MAXI_AS_TEMP4 24 /* R */
1149#define SENSORS_MAXI_AS_TEMP5 25 /* R */
1150#define SENSORS_MAXI_AS_TEMP1_MAX 31 /* R */
1151#define SENSORS_MAXI_AS_TEMP2_MAX 32 /* R */
1152#define SENSORS_MAXI_AS_TEMP3_MAX 33 /* R */
1153#define SENSORS_MAXI_AS_TEMP4_MAX 34 /* R */
1154#define SENSORS_MAXI_AS_TEMP5_MAX 35 /* R */
1155#define SENSORS_MAXI_AS_TEMP1_HYST 41 /* R */
1156#define SENSORS_MAXI_AS_TEMP2_HYST 42 /* R */
1157#define SENSORS_MAXI_AS_TEMP3_HYST 43 /* R */
1158#define SENSORS_MAXI_AS_TEMP4_HYST 44 /* R */
1159#define SENSORS_MAXI_AS_TEMP5_HYST 45 /* R */
1160#define SENSORS_MAXI_AS_PLL 51 /* R */
1161#define SENSORS_MAXI_AS_PLL_MIN 52 /* RW */
1162#define SENSORS_MAXI_AS_PLL_MAX 53 /* RW */
1163#define SENSORS_MAXI_AS_VID1 61 /* R */
1164#define SENSORS_MAXI_AS_VID2 62 /* R */
1165#define SENSORS_MAXI_AS_VID3 63 /* R */
1166#define SENSORS_MAXI_AS_VID4 64 /* R */
1167#define SENSORS_MAXI_AS_VID1_MIN 71 /* RW */
1168#define SENSORS_MAXI_AS_VID2_MIN 72 /* RW */
1169#define SENSORS_MAXI_AS_VID3_MIN 73 /* RW */
1170#define SENSORS_MAXI_AS_VID4_MIN 74 /* RW */
1171#define SENSORS_MAXI_AS_VID1_MAX 81 /* RW */
1172#define SENSORS_MAXI_AS_VID2_MAX 82 /* RW */
1173#define SENSORS_MAXI_AS_VID3_MAX 83 /* RW */
1174#define SENSORS_MAXI_AS_VID4_MAX 84 /* RW */
1175#define SENSORS_MAXI_AS_ALARMS 91 /* R */
1176
1177/* THMC50/ADM1022 chips */
1178
1179#define SENSORS_THMC50_PREFIX "thmc50"
1180/* Cheat on LM84,GL523,THMC10 for now - no separate #defines */
1181#define SENSORS_ADM1022_PREFIX "adm1022"
1182
1183#define SENSORS_THMC50_TEMP 51 /* R */
1184#define SENSORS_THMC50_TEMP_HYST 52 /* RW */
1185#define SENSORS_THMC50_TEMP_OVER 53 /* RW */
1186#define SENSORS_THMC50_REMOTE_TEMP 54 /* R */
1187#define SENSORS_THMC50_REMOTE_TEMP_HYST 55 /* RW */
1188#define SENSORS_THMC50_REMOTE_TEMP_OVER 56 /* RW */
1189#define SENSORS_THMC50_ANALOG_OUT 71 /* RW */
1190#define SENSORS_THMC50_INTER 81 /* R */
1191#define SENSORS_THMC50_INTER_MASK 82 /* RW */
1192#define SENSORS_THMC50_DIE_CODE 90 /* R */
1193
1194/* ADM1025 chip */
1195
1196#define SENSORS_ADM1025_PREFIX "adm1025"
1197#define SENSORS_NE1619_PREFIX "ne1619"
1198
1199#define SENSORS_ADM1025_IN0 1 /* R */
1200#define SENSORS_ADM1025_IN1 2 /* R */
1201#define SENSORS_ADM1025_IN2 3 /* R */
1202#define SENSORS_ADM1025_IN3 4 /* R */
1203#define SENSORS_ADM1025_IN4 5 /* R */
1204#define SENSORS_ADM1025_IN5 6 /* R */
1205#define SENSORS_ADM1025_IN0_MIN 11 /* RW */
1206#define SENSORS_ADM1025_IN1_MIN 12 /* RW */
1207#define SENSORS_ADM1025_IN2_MIN 13 /* RW */
1208#define SENSORS_ADM1025_IN3_MIN 14 /* RW */
1209#define SENSORS_ADM1025_IN4_MIN 15 /* RW */
1210#define SENSORS_ADM1025_IN5_MIN 16 /* RW */
1211#define SENSORS_ADM1025_IN0_MAX 21 /* RW */
1212#define SENSORS_ADM1025_IN1_MAX 22 /* RW */
1213#define SENSORS_ADM1025_IN2_MAX 23 /* RW */
1214#define SENSORS_ADM1025_IN3_MAX 24 /* RW */
1215#define SENSORS_ADM1025_IN4_MAX 25 /* RW */
1216#define SENSORS_ADM1025_IN5_MAX 26 /* RW */
1217#define SENSORS_ADM1025_TEMP1 51 /* R */
1218#define SENSORS_ADM1025_TEMP1_LOW 52 /* RW */
1219#define SENSORS_ADM1025_TEMP1_HIGH 53 /* RW */
1220#define SENSORS_ADM1025_TEMP2 54 /* R */
1221#define SENSORS_ADM1025_TEMP2_LOW 55 /* RW */
1222#define SENSORS_ADM1025_TEMP2_HIGH 56 /* RW */
1223#define SENSORS_ADM1025_VID 61 /* R */
1224#define SENSORS_ADM1025_VRM 62 /* R */
1225#define SENSORS_ADM1025_ALARMS 81 /* R */
1226
1227
1228#define SENSORS_ADM1026_PREFIX "adm1026"
1229/* NOTE: print_adm1026 (sensors) depends on the ordering
1230 *    of these entries in each group.  For example
1231 *         fan#, fan#_div, fan#_min
1232 *         temp#, temp#_max, temp#_min, temp#_offset
1233 *    and the ordering of the groups
1234 *         in0, in1, ... in9, in10, in11
1235 */
1236#define SENSORS_ADM1026_AFC_DAC            1  /* RW -- afc_analog_out  */
1237#define SENSORS_ADM1026_AFC_PWM            2  /* RW -- afc_pwm  */
1238#define SENSORS_ADM1026_ALARMS             3  /* R  -- alarms  */
1239#define SENSORS_ADM1026_ALARM_MASK         4  /* R  -- alarm_mask  */
1240#define SENSORS_ADM1026_DAC                5  /* RW -- analog_out  */
1241#define SENSORS_ADM1026_GPIO               6  /* R  -- gpio  */
1242#define SENSORS_ADM1026_GPIO_MASK          7  /* R  -- gpio_mask  */
1243#define SENSORS_ADM1026_PWM                8  /* RW -- pwm  */
1244#define SENSORS_ADM1026_VID                9  /* RW -- vid  */
1245#define SENSORS_ADM1026_VRM               10  /* RW -- vrm  */
1246#define SENSORS_ADM1026_FAN0              11  /* R  -- fan0  */
1247#define SENSORS_ADM1026_FAN0_DIV          12  /* RW -- fan0_div  */
1248#define SENSORS_ADM1026_FAN0_MIN          13  /* RW -- fan0_min  */
1249#define SENSORS_ADM1026_FAN1              14  /* R  -- fan1  */
1250#define SENSORS_ADM1026_FAN1_DIV          15  /* RW -- fan1_div  */
1251#define SENSORS_ADM1026_FAN1_MIN          16  /* RW -- fan1_min  */
1252#define SENSORS_ADM1026_FAN2              17  /* R  -- fan2  */
1253#define SENSORS_ADM1026_FAN2_DIV          18  /* RW -- fan2_div  */
1254#define SENSORS_ADM1026_FAN2_MIN          19  /* RW -- fan2_min  */
1255#define SENSORS_ADM1026_FAN3              20  /* R  -- fan3  */
1256#define SENSORS_ADM1026_FAN3_DIV          21  /* RW -- fan3_div  */
1257#define SENSORS_ADM1026_FAN3_MIN          22  /* RW -- fan3_min  */
1258#define SENSORS_ADM1026_FAN4              23  /* R  -- fan4  */
1259#define SENSORS_ADM1026_FAN4_DIV          24  /* RW -- fan4_div  */
1260#define SENSORS_ADM1026_FAN4_MIN          25  /* RW -- fan4_min  */
1261#define SENSORS_ADM1026_FAN5              26  /* R  -- fan5  */
1262#define SENSORS_ADM1026_FAN5_DIV          27  /* RW -- fan5_div  */
1263#define SENSORS_ADM1026_FAN5_MIN          28  /* RW -- fan5_min  */
1264#define SENSORS_ADM1026_FAN6              29  /* R  -- fan6  */
1265#define SENSORS_ADM1026_FAN6_DIV          30  /* RW -- fan6_div  */
1266#define SENSORS_ADM1026_FAN6_MIN          31  /* RW -- fan6_min  */
1267#define SENSORS_ADM1026_FAN7              32  /* R  -- fan7  */
1268#define SENSORS_ADM1026_FAN7_DIV          33  /* RW -- fan7_div  */
1269#define SENSORS_ADM1026_FAN7_MIN          34  /* RW -- fan7_min  */
1270#define SENSORS_ADM1026_IN0               35  /* R  -- in0  */
1271#define SENSORS_ADM1026_IN0_MAX           36  /* RW -- in0_max  */
1272#define SENSORS_ADM1026_IN0_MIN           37  /* RW -- in0_min  */
1273#define SENSORS_ADM1026_IN1               38  /* R  -- in1  */
1274#define SENSORS_ADM1026_IN1_MAX           39  /* RW -- in1_max  */
1275#define SENSORS_ADM1026_IN1_MIN           40  /* RW -- in1_min  */
1276#define SENSORS_ADM1026_IN2               41  /* R  -- in2  */
1277#define SENSORS_ADM1026_IN2_MAX           42  /* RW -- in2_max  */
1278#define SENSORS_ADM1026_IN2_MIN           43  /* RW -- in2_min  */
1279#define SENSORS_ADM1026_IN3               44  /* R  -- in3  */
1280#define SENSORS_ADM1026_IN3_MAX           45  /* RW -- in3_max  */
1281#define SENSORS_ADM1026_IN3_MIN           46  /* RW -- in3_min  */
1282#define SENSORS_ADM1026_IN4               47  /* R  -- in4  */
1283#define SENSORS_ADM1026_IN4_MAX           48  /* RW -- in4_max  */
1284#define SENSORS_ADM1026_IN4_MIN           49  /* RW -- in4_min  */
1285#define SENSORS_ADM1026_IN5               50  /* R  -- in5  */
1286#define SENSORS_ADM1026_IN5_MAX           51  /* RW -- in5_max  */
1287#define SENSORS_ADM1026_IN5_MIN           52  /* RW -- in5_min  */
1288#define SENSORS_ADM1026_IN6               53  /* R  -- in6  */
1289#define SENSORS_ADM1026_IN6_MAX           54  /* RW -- in6_max  */
1290#define SENSORS_ADM1026_IN6_MIN           55  /* RW -- in6_min  */
1291#define SENSORS_ADM1026_IN7               56  /* R  -- in7  */
1292#define SENSORS_ADM1026_IN7_MAX           57  /* RW -- in7_max  */
1293#define SENSORS_ADM1026_IN7_MIN           58  /* RW -- in7_min  */
1294#define SENSORS_ADM1026_IN8               59  /* R  -- in8  */
1295#define SENSORS_ADM1026_IN8_MAX           60  /* RW -- in8_max  */
1296#define SENSORS_ADM1026_IN8_MIN           61  /* RW -- in8_min  */
1297#define SENSORS_ADM1026_IN9               62  /* R  -- in9  */
1298#define SENSORS_ADM1026_IN9_MAX           63  /* RW -- in9_max  */
1299#define SENSORS_ADM1026_IN9_MIN           64  /* RW -- in9_min  */
1300#define SENSORS_ADM1026_IN10              65  /* R  -- in10  */
1301#define SENSORS_ADM1026_IN10_MAX          66  /* RW -- in10_max  */
1302#define SENSORS_ADM1026_IN10_MIN          67  /* RW -- in10_min  */
1303#define SENSORS_ADM1026_IN11              68  /* R  -- in11  */
1304#define SENSORS_ADM1026_IN11_MAX          69  /* RW -- in11_max  */
1305#define SENSORS_ADM1026_IN11_MIN          70  /* RW -- in11_min  */
1306#define SENSORS_ADM1026_IN12              71  /* R  -- in12  */
1307#define SENSORS_ADM1026_IN12_MAX          72  /* RW -- in12_max  */
1308#define SENSORS_ADM1026_IN12_MIN          73  /* RW -- in12_min  */
1309#define SENSORS_ADM1026_IN13              74  /* R  -- in13  */
1310#define SENSORS_ADM1026_IN13_MAX          75  /* RW -- in13_max  */
1311#define SENSORS_ADM1026_IN13_MIN          76  /* RW -- in13_min  */
1312#define SENSORS_ADM1026_IN14              77  /* R  -- in14  */
1313#define SENSORS_ADM1026_IN14_MAX          78  /* RW -- in14_max  */
1314#define SENSORS_ADM1026_IN14_MIN          79  /* RW -- in14_min  */
1315#define SENSORS_ADM1026_IN15              80  /* R  -- in15  */
1316#define SENSORS_ADM1026_IN15_MAX          81  /* RW -- in15_max  */
1317#define SENSORS_ADM1026_IN15_MIN          82  /* RW -- in15_min  */
1318#define SENSORS_ADM1026_IN16              83  /* R  -- in16  */
1319#define SENSORS_ADM1026_IN16_MAX          84  /* RW -- in16_max  */
1320#define SENSORS_ADM1026_IN16_MIN          85  /* RW -- in16_min  */
1321#define SENSORS_ADM1026_TEMP1             86  /* R  -- temp1  */
1322#define SENSORS_ADM1026_TEMP1_MAX         87  /* RW -- temp1_max  */
1323#define SENSORS_ADM1026_TEMP1_MIN         88  /* RW -- temp1_min  */
1324#define SENSORS_ADM1026_TEMP1_OFFSET      89  /* RW -- temp1_offset  */
1325#define SENSORS_ADM1026_TEMP1_THERM       90  /* RW -- temp1_therm  */
1326#define SENSORS_ADM1026_TEMP1_TMIN        91  /* RW -- temp1_tmin  */
1327#define SENSORS_ADM1026_TEMP2             92  /* R  -- temp2  */
1328#define SENSORS_ADM1026_TEMP2_MAX         93  /* RW -- temp2_max  */
1329#define SENSORS_ADM1026_TEMP2_MIN         94  /* RW -- temp2_min  */
1330#define SENSORS_ADM1026_TEMP2_OFFSET      95  /* RW -- temp2_offset  */
1331#define SENSORS_ADM1026_TEMP2_THERM       96  /* RW -- temp2_therm  */
1332#define SENSORS_ADM1026_TEMP2_TMIN        97  /* RW -- temp2_tmin  */
1333#define SENSORS_ADM1026_TEMP3             98  /* R  -- temp3  */
1334#define SENSORS_ADM1026_TEMP3_MAX         99  /* RW -- temp3_max  */
1335#define SENSORS_ADM1026_TEMP3_MIN        100  /* RW -- temp3_min  */
1336#define SENSORS_ADM1026_TEMP3_OFFSET     101  /* RW -- temp3_offset  */
1337#define SENSORS_ADM1026_TEMP3_THERM      102  /* RW -- temp3_therm  */
1338#define SENSORS_ADM1026_TEMP3_TMIN       103  /* RW -- temp3_tmin  */
1339
1340
1341#define SENSORS_VIA686A_PREFIX "via686a"
1342
1343#define SENSORS_VIA686A_IN0 1 /* R */
1344#define SENSORS_VIA686A_IN1 2 /* R */
1345#define SENSORS_VIA686A_IN2 3 /* R */
1346#define SENSORS_VIA686A_IN3 4 /* R */
1347#define SENSORS_VIA686A_IN4 5 /* R */
1348#define SENSORS_VIA686A_IN0_MIN 11 /* RW */
1349#define SENSORS_VIA686A_IN1_MIN 12 /* RW */
1350#define SENSORS_VIA686A_IN2_MIN 13 /* RW */
1351#define SENSORS_VIA686A_IN3_MIN 14 /* RW */
1352#define SENSORS_VIA686A_IN4_MIN 15 /* RW */
1353#define SENSORS_VIA686A_IN0_MAX 21 /* RW */
1354#define SENSORS_VIA686A_IN1_MAX 22 /* RW */
1355#define SENSORS_VIA686A_IN2_MAX 23 /* RW */
1356#define SENSORS_VIA686A_IN3_MAX 24 /* RW */
1357#define SENSORS_VIA686A_IN4_MAX 25 /* RW */
1358#define SENSORS_VIA686A_FAN1 31 /* R */
1359#define SENSORS_VIA686A_FAN2 32 /* R */
1360#define SENSORS_VIA686A_FAN1_MIN 41 /* RW */
1361#define SENSORS_VIA686A_FAN2_MIN 42 /* RW */
1362#define SENSORS_VIA686A_TEMP 51 /* R */
1363#define SENSORS_VIA686A_TEMP_HYST 52 /* RW */
1364#define SENSORS_VIA686A_TEMP_OVER 53 /* RW */
1365#define SENSORS_VIA686A_TEMP2 54 /* R */
1366#define SENSORS_VIA686A_TEMP2_HYST 55 /* RW */
1367#define SENSORS_VIA686A_TEMP2_OVER 56 /* RW */
1368#define SENSORS_VIA686A_TEMP3 57 /* R */
1369#define SENSORS_VIA686A_TEMP3_HYST 58 /* RW */
1370#define SENSORS_VIA686A_TEMP3_OVER 59 /* RW */
1371#define SENSORS_VIA686A_FAN1_DIV 71 /* RW */
1372#define SENSORS_VIA686A_FAN2_DIV 72 /* RW */
1373#define SENSORS_VIA686A_ALARMS 81 /* R */
1374
1375
1376/* DDC Monitor */
1377
1378#define SENSORS_DDCMON_PREFIX "ddcmon"
1379
1380#define SENSORS_DDCMON_MAN_ID 10
1381#define SENSORS_DDCMON_PROD_ID 11
1382#define SENSORS_DDCMON_YEAR 13
1383#define SENSORS_DDCMON_WEEK 14
1384#define SENSORS_DDCMON_EDID_VER 15
1385#define SENSORS_DDCMON_EDID_REV 16
1386#define SENSORS_DDCMON_HORSIZE 21
1387#define SENSORS_DDCMON_VERSIZE 22
1388#define SENSORS_DDCMON_GAMMA 23
1389#define SENSORS_DDCMON_DPMS 24
1390#define SENSORS_DDCMON_HORSYNCMIN 31
1391#define SENSORS_DDCMON_HORSYNCMAX 32
1392#define SENSORS_DDCMON_VERSYNCMIN 33
1393#define SENSORS_DDCMON_VERSYNCMAX 34
1394#define SENSORS_DDCMON_MAXCLOCK 35
1395#define SENSORS_DDCMON_SERIAL 40
1396#define SENSORS_DDCMON_TIMINGS 50
1397#define SENSORS_DDCMON_TIMING1_HOR 51
1398#define SENSORS_DDCMON_TIMING1_VER 52
1399#define SENSORS_DDCMON_TIMING1_REF 53
1400#define SENSORS_DDCMON_TIMING2_HOR 54
1401#define SENSORS_DDCMON_TIMING2_VER 55
1402#define SENSORS_DDCMON_TIMING2_REF 56
1403#define SENSORS_DDCMON_TIMING3_HOR 57
1404#define SENSORS_DDCMON_TIMING3_VER 58
1405#define SENSORS_DDCMON_TIMING3_REF 59
1406#define SENSORS_DDCMON_TIMING4_HOR 60
1407#define SENSORS_DDCMON_TIMING4_VER 61
1408#define SENSORS_DDCMON_TIMING4_REF 62
1409#define SENSORS_DDCMON_TIMING5_HOR 63
1410#define SENSORS_DDCMON_TIMING5_VER 64
1411#define SENSORS_DDCMON_TIMING5_REF 65
1412#define SENSORS_DDCMON_TIMING6_HOR 66
1413#define SENSORS_DDCMON_TIMING6_VER 67
1414#define SENSORS_DDCMON_TIMING6_REF 68
1415#define SENSORS_DDCMON_TIMING7_HOR 69
1416#define SENSORS_DDCMON_TIMING7_VER 70
1417#define SENSORS_DDCMON_TIMING7_REF 71
1418#define SENSORS_DDCMON_TIMING8_HOR 72
1419#define SENSORS_DDCMON_TIMING8_VER 73
1420#define SENSORS_DDCMON_TIMING8_REF 74
1421
1422/* EEPROM (SDRAM DIMM) */
1423
1424#define SENSORS_EEPROM_PREFIX "eeprom"
1425
1426#define SENSORS_EEPROM_TYPE 10
1427#define SENSORS_EEPROM_ROWADDR 12
1428#define SENSORS_EEPROM_COLADDR 13
1429#define SENSORS_EEPROM_NUMROWS 14
1430#define SENSORS_EEPROM_BANKS 15
1431
1432#define SENSORS_EEPROM_VAIO_NAME 128
1433/* 129 to 159: reserved, do not use! */
1434#define SENSORS_EEPROM_VAIO_SERIAL 160
1435/* 161 to 191: reserved, do not use! */
1436
1437#define SENSORS_EEPROM_EDID_HEADER 32
1438/* 33 to 39: reserved, do not use! */
1439
1440#define SENSORS_EEPROM_SHUTTLE 40
1441/* 41 to 45: reserved, do not use! */
1442
1443/* Analog Devices LM87 chips */
1444
1445#define SENSORS_LM87_PREFIX "lm87"
1446
1447#define SENSORS_LM87_IN0              1 /* R */
1448#define SENSORS_LM87_IN1              2 /* R */
1449#define SENSORS_LM87_IN2              3 /* R */
1450#define SENSORS_LM87_IN3              4 /* R */
1451#define SENSORS_LM87_IN4              5 /* R */
1452#define SENSORS_LM87_IN5              6 /* R */
1453#define SENSORS_LM87_AIN1             7 /* R */
1454#define SENSORS_LM87_AIN2             8 /* R */
1455#define SENSORS_LM87_IN0_MIN         11 /* RW */
1456#define SENSORS_LM87_IN1_MIN         12 /* RW */
1457#define SENSORS_LM87_IN2_MIN         13 /* RW */
1458#define SENSORS_LM87_IN3_MIN         14 /* RW */
1459#define SENSORS_LM87_IN4_MIN         15 /* RW */
1460#define SENSORS_LM87_IN5_MIN         16 /* RW */
1461#define SENSORS_LM87_AIN1_MIN        17 /* RW */
1462#define SENSORS_LM87_AIN2_MIN        18 /* RW */
1463#define SENSORS_LM87_IN0_MAX         21 /* RW */
1464#define SENSORS_LM87_IN1_MAX         22 /* RW */
1465#define SENSORS_LM87_IN2_MAX         23 /* RW */
1466#define SENSORS_LM87_IN3_MAX         24 /* RW */
1467#define SENSORS_LM87_IN4_MAX         25 /* RW */
1468#define SENSORS_LM87_IN5_MAX         26 /* RW */
1469#define SENSORS_LM87_AIN1_MAX        27 /* RW */
1470#define SENSORS_LM87_AIN2_MAX        28 /* RW */
1471#define SENSORS_LM87_FAN1            31 /* R */
1472#define SENSORS_LM87_FAN2            32 /* R */
1473#define SENSORS_LM87_FAN1_MIN        41 /* RW */
1474#define SENSORS_LM87_FAN2_MIN        42 /* RW */
1475#define SENSORS_LM87_TEMP1           51 /* R */
1476#define SENSORS_LM87_TEMP2           52 /* R */
1477#define SENSORS_LM87_TEMP3           53 /* R */
1478#define SENSORS_LM87_TEMP1_HYST      54 /* RW */
1479#define SENSORS_LM87_TEMP1_OVER      55 /* RW */
1480#define SENSORS_LM87_TEMP2_HYST      56 /* RW */
1481#define SENSORS_LM87_TEMP2_OVER      57 /* RW */
1482#define SENSORS_LM87_TEMP3_HYST      58 /* RW */
1483#define SENSORS_LM87_TEMP3_OVER      59 /* RW */
1484#define SENSORS_LM87_VID             61 /* R */
1485#define SENSORS_LM87_VRM             62 /* RW */
1486#define SENSORS_LM87_FAN1_DIV        71 /* RW */
1487#define SENSORS_LM87_FAN2_DIV        72 /* RW */
1488#define SENSORS_LM87_ALARMS          81 /* R */
1489#define SENSORS_LM87_ANALOG_OUT      82 /* RW */
1490
1491/* Myson MTP008 chips */
1492
1493#define SENSORS_MTP008_PREFIX           "mtp008"
1494
1495#define SENSORS_MTP008_IN0              1 /* R */
1496#define SENSORS_MTP008_IN1              2 /* R */
1497#define SENSORS_MTP008_IN2              3 /* R */
1498#define SENSORS_MTP008_IN3              4 /* R */
1499#define SENSORS_MTP008_IN4              5 /* R */
1500#define SENSORS_MTP008_IN5              6 /* R */
1501#define SENSORS_MTP008_IN6              7 /* R */
1502#define SENSORS_MTP008_IN0_MIN         11 /* RW */
1503#define SENSORS_MTP008_IN1_MIN         12 /* RW */
1504#define SENSORS_MTP008_IN2_MIN         13 /* RW */
1505#define SENSORS_MTP008_IN3_MIN         14 /* RW */
1506#define SENSORS_MTP008_IN4_MIN         15 /* RW */
1507#define SENSORS_MTP008_IN5_MIN         16 /* RW */
1508#define SENSORS_MTP008_IN6_MIN         17 /* RW */
1509#define SENSORS_MTP008_IN0_MAX         21 /* RW */
1510#define SENSORS_MTP008_IN1_MAX         22 /* RW */
1511#define SENSORS_MTP008_IN2_MAX         23 /* RW */
1512#define SENSORS_MTP008_IN3_MAX         24 /* RW */
1513#define SENSORS_MTP008_IN4_MAX         25 /* RW */
1514#define SENSORS_MTP008_IN5_MAX         26 /* RW */
1515#define SENSORS_MTP008_IN6_MAX         27 /* RW */
1516#define SENSORS_MTP008_FAN1            31 /* R */
1517#define SENSORS_MTP008_FAN2            32 /* R */
1518#define SENSORS_MTP008_FAN3            33 /* R */
1519#define SENSORS_MTP008_FAN1_MIN        41 /* RW */
1520#define SENSORS_MTP008_FAN2_MIN        42 /* RW */
1521#define SENSORS_MTP008_FAN3_MIN        43 /* RW */
1522#define SENSORS_MTP008_TEMP1           51 /* R */
1523#define SENSORS_MTP008_TEMP2           52 /* R */
1524#define SENSORS_MTP008_TEMP3           53 /* R */
1525#define SENSORS_MTP008_TEMP1_OVER      54 /* RW */
1526#define SENSORS_MTP008_TEMP1_HYST      55 /* RW */
1527#define SENSORS_MTP008_TEMP2_OVER      56 /* RW */
1528#define SENSORS_MTP008_TEMP2_HYST      57 /* RW */
1529#define SENSORS_MTP008_TEMP3_OVER      58 /* RW */
1530#define SENSORS_MTP008_TEMP3_HYST      59 /* RW */
1531#define SENSORS_MTP008_VID             61 /* R */
1532#define SENSORS_MTP008_FAN1_DIV        71 /* RW */
1533#define SENSORS_MTP008_FAN2_DIV        72 /* RW */
1534#define SENSORS_MTP008_FAN3_DIV        73 /* RW */
1535#define SENSORS_MTP008_ALARMS          81 /* R */
1536#define SENSORS_MTP008_BEEP            82 /* RW */
1537
1538/* DS1621 chips. */
1539
1540#define SENSORS_DS1621_PREFIX "ds1621"
1541
1542#define SENSORS_DS1621_TEMP 51 /* R */
1543#define SENSORS_DS1621_TEMP_HYST 52 /* RW */
1544#define SENSORS_DS1621_TEMP_OVER 53 /* RW */
1545#define SENSORS_DS1621_ALARMS 81 /* R */
1546#define SENSORS_DS1621_ENABLE 82 /* RW */
1547#define SENSORS_DS1621_CONTINUOUS 83 /* RW */
1548#define SENSORS_DS1621_POLARITY 84 /* RW */
1549
1550/* ADM1024 chip */
1551
1552#define SENSORS_ADM1024_PREFIX "adm1024"
1553
1554#define SENSORS_ADM1024_IN0 1 /* R */
1555#define SENSORS_ADM1024_IN1 2 /* R */
1556#define SENSORS_ADM1024_IN2 3 /* R */
1557#define SENSORS_ADM1024_IN3 4 /* R */
1558#define SENSORS_ADM1024_IN4 5 /* R */
1559#define SENSORS_ADM1024_IN5 6 /* R */
1560#define SENSORS_ADM1024_IN0_MIN 11 /* RW */
1561#define SENSORS_ADM1024_IN1_MIN 12 /* RW */
1562#define SENSORS_ADM1024_IN2_MIN 13 /* RW */
1563#define SENSORS_ADM1024_IN3_MIN 14 /* RW */
1564#define SENSORS_ADM1024_IN4_MIN 15 /* RW */
1565#define SENSORS_ADM1024_IN5_MIN 16 /* RW */
1566#define SENSORS_ADM1024_IN0_MAX 21 /* RW */
1567#define SENSORS_ADM1024_IN1_MAX 22 /* RW */
1568#define SENSORS_ADM1024_IN2_MAX 23 /* RW */
1569#define SENSORS_ADM1024_IN3_MAX 24 /* RW */
1570#define SENSORS_ADM1024_IN4_MAX 25 /* RW */
1571#define SENSORS_ADM1024_IN5_MAX 26 /* RW */
1572#define SENSORS_ADM1024_FAN1 31 /* R */
1573#define SENSORS_ADM1024_FAN2 32 /* R */
1574#define SENSORS_ADM1024_FAN1_MIN 41 /* RW */
1575#define SENSORS_ADM1024_FAN2_MIN 42 /* RW */
1576#define SENSORS_ADM1024_TEMP 51 /* R */
1577#define SENSORS_ADM1024_TEMP1 52 /* R */
1578#define SENSORS_ADM1024_TEMP2 53 /* R */
1579#define SENSORS_ADM1024_TEMP_HYST 61 /* RW */
1580#define SENSORS_ADM1024_TEMP_OVER 62 /* RW */
1581#define SENSORS_ADM1024_TEMP1_HYST 63 /* RW */
1582#define SENSORS_ADM1024_TEMP1_OVER 64 /* RW */
1583#define SENSORS_ADM1024_TEMP2_HYST 65 /* RW */
1584#define SENSORS_ADM1024_TEMP2_OVER 66 /* RW */
1585#define SENSORS_ADM1024_VID 71 /* R */
1586#define SENSORS_ADM1024_FAN1_DIV 81 /* RW */
1587#define SENSORS_ADM1024_FAN2_DIV 82 /* RW */
1588#define SENSORS_ADM1024_ALARMS 91 /* R */
1589#define SENSORS_ADM1024_ANALOG_OUT 92 /* RW */
1590
1591/* IT87xx chips */
1592
1593#define SENSORS_IT87_PREFIX "it87"
1594#define SENSORS_IT8712_PREFIX "it8712"
1595#define SENSORS_IT8716_PREFIX "it8716"
1596#define SENSORS_IT8718_PREFIX "it8718"
1597
1598#define SENSORS_IT87_IN0 1 /* R */
1599#define SENSORS_IT87_IN1 2 /* R */
1600#define SENSORS_IT87_IN2 3 /* R */
1601#define SENSORS_IT87_IN3 4 /* R */
1602#define SENSORS_IT87_IN4 5 /* R */
1603#define SENSORS_IT87_IN5 6 /* R */
1604#define SENSORS_IT87_IN6 7 /* R */
1605#define SENSORS_IT87_IN7 8 /* R */
1606#define SENSORS_IT87_IN8 9 /* R */
1607#define SENSORS_IT87_IN0_MIN 11 /* RW */
1608#define SENSORS_IT87_IN1_MIN 12 /* RW */
1609#define SENSORS_IT87_IN2_MIN 13 /* RW */
1610#define SENSORS_IT87_IN3_MIN 14 /* RW */
1611#define SENSORS_IT87_IN4_MIN 15 /* RW */
1612#define SENSORS_IT87_IN5_MIN 16 /* RW */
1613#define SENSORS_IT87_IN6_MIN 17 /* RW */
1614#define SENSORS_IT87_IN7_MIN 18 /* RW */
1615#define SENSORS_IT87_IN0_MAX 21 /* RW */
1616#define SENSORS_IT87_IN1_MAX 22 /* RW */
1617#define SENSORS_IT87_IN2_MAX 23 /* RW */
1618#define SENSORS_IT87_IN3_MAX 24 /* RW */
1619#define SENSORS_IT87_IN4_MAX 25 /* RW */
1620#define SENSORS_IT87_IN5_MAX 26 /* RW */
1621#define SENSORS_IT87_IN6_MAX 27 /* RW */
1622#define SENSORS_IT87_IN7_MAX 28 /* RW */
1623#define SENSORS_IT87_FAN1 31 /* R */
1624#define SENSORS_IT87_FAN2 32 /* R */
1625#define SENSORS_IT87_FAN3 33 /* R */
1626#define SENSORS_IT87_FAN1_MIN 41 /* RW */
1627#define SENSORS_IT87_FAN2_MIN 42 /* RW */
1628#define SENSORS_IT87_FAN3_MIN 43 /* RW */
1629#define SENSORS_IT87_TEMP1 51 /* R */
1630#define SENSORS_IT87_TEMP2 52 /* R */
1631#define SENSORS_IT87_TEMP3 53 /* R */
1632#define SENSORS_IT87_TEMP1_LOW 54 /* RW */
1633#define SENSORS_IT87_TEMP2_LOW 55 /* RW */
1634#define SENSORS_IT87_TEMP3_LOW 56 /* RW */
1635#define SENSORS_IT87_TEMP1_HIGH 57 /* RW */
1636#define SENSORS_IT87_TEMP2_HIGH 58 /* RW */
1637#define SENSORS_IT87_TEMP3_HIGH 59 /* RW */
1638#define SENSORS_IT87_VID 61 /* R */
1639#define SENSORS_IT87_FAN1_DIV 71 /* RW */
1640#define SENSORS_IT87_FAN2_DIV 72 /* RW */
1641#define SENSORS_IT87_FAN3_DIV 73 /* R (fan3 different) */
1642#define SENSORS_IT87_ALARMS_FAN 81 /* R */
1643#define SENSORS_IT87_ALARMS_VIN 82 /* R */
1644#define SENSORS_IT87_ALARMS_TEMP 83 /* R */
1645#define SENSORS_IT87_ALARMS 84 /* R */
1646#define SENSORS_IT87_SENS1 91 /* RW */
1647#define SENSORS_IT87_SENS2 92 /* RW */
1648#define SENSORS_IT87_SENS3 93 /* RW */
1649
1650
1651/* fsc poseidon chip */
1652
1653#define SENSORS_FSCPOS_PREFIX "fscpos"
1654
1655#define SENSORS_FSCPOS_REV 1 /* R */
1656#define SENSORS_FSCPOS_EVENT 2 /* R */
1657#define SENSORS_FSCPOS_CONTROL 3 /* RW */
1658#define SENSORS_FSCPOS_FAN1 4 /* R */
1659#define SENSORS_FSCPOS_FAN2 5 /* R */
1660#define SENSORS_FSCPOS_FAN3 6 /* R */
1661#define SENSORS_FSCPOS_FAN1_MIN 7 /* RW */
1662#define SENSORS_FSCPOS_FAN2_MIN 8 /* RW */
1663#define SENSORS_FSCPOS_FAN3_MIN 9 /* RW */
1664#define SENSORS_FSCPOS_FAN1_STATE 10 /* RW */
1665#define SENSORS_FSCPOS_FAN2_STATE 11 /* RW */
1666#define SENSORS_FSCPOS_FAN3_STATE 12 /* RW */
1667#define SENSORS_FSCPOS_FAN1_RIPPLE 13 /* RW */
1668#define SENSORS_FSCPOS_FAN2_RIPPLE 14 /* RW */
1669#define SENSORS_FSCPOS_FAN3_RIPPLE 15 /* RW */
1670#define SENSORS_FSCPOS_TEMP1 16 /* R */
1671#define SENSORS_FSCPOS_TEMP2 17 /* R */
1672#define SENSORS_FSCPOS_TEMP3 18 /* R */
1673#define SENSORS_FSCPOS_TEMP1_STATE 19 /* RW */
1674#define SENSORS_FSCPOS_TEMP2_STATE 20 /* RW */
1675#define SENSORS_FSCPOS_TEMP3_STATE 21 /* RW */
1676#define SENSORS_FSCPOS_VOLTAGE1 22 /* R */
1677#define SENSORS_FSCPOS_VOLTAGE2 23 /* R */
1678#define SENSORS_FSCPOS_VOLTAGE3 24 /* R */
1679#define SENSORS_FSCPOS_WDOG_PRESET 25/* RW */
1680#define SENSORS_FSCPOS_WDOG_STATE 26/* RW */
1681#define SENSORS_FSCPOS_WDOG_CONTROL 27/* RW */
1682
1683/* fsc scylla chip */
1684
1685#define SENSORS_FSCSCY_PREFIX "fscscy"
1686
1687#define SENSORS_FSCSCY_REV 1 /* R */
1688#define SENSORS_FSCSCY_EVENT 2 /* R */
1689#define SENSORS_FSCSCY_CONTROL 3 /* RW */
1690#define SENSORS_FSCSCY_FAN1 4 /* R */
1691#define SENSORS_FSCSCY_FAN2 5 /* R */
1692#define SENSORS_FSCSCY_FAN3 6 /* R */
1693#define SENSORS_FSCSCY_FAN4 7 /* R */
1694#define SENSORS_FSCSCY_FAN5 8 /* R */
1695#define SENSORS_FSCSCY_FAN6 9 /* R */
1696#define SENSORS_FSCSCY_FAN1_MIN 10 /* RW */
1697#define SENSORS_FSCSCY_FAN2_MIN 11 /* RW */
1698#define SENSORS_FSCSCY_FAN3_MIN 12 /* RW */
1699#define SENSORS_FSCSCY_FAN4_MIN 13 /* RW */
1700#define SENSORS_FSCSCY_FAN5_MIN 14 /* RW */
1701#define SENSORS_FSCSCY_FAN6_MIN 15 /* RW */
1702#define SENSORS_FSCSCY_FAN1_STATE 16 /* RW */
1703#define SENSORS_FSCSCY_FAN2_STATE 17 /* RW */
1704#define SENSORS_FSCSCY_FAN3_STATE 18 /* RW */
1705#define SENSORS_FSCSCY_FAN4_STATE 19 /* RW */
1706#define SENSORS_FSCSCY_FAN5_STATE 20 /* RW */
1707#define SENSORS_FSCSCY_FAN6_STATE 21 /* RW */
1708#define SENSORS_FSCSCY_FAN1_RIPPLE 22 /* RW */
1709#define SENSORS_FSCSCY_FAN2_RIPPLE 23 /* RW */
1710#define SENSORS_FSCSCY_FAN3_RIPPLE 24 /* RW */
1711#define SENSORS_FSCSCY_FAN4_RIPPLE 25 /* RW */
1712#define SENSORS_FSCSCY_FAN5_RIPPLE 26 /* RW */
1713#define SENSORS_FSCSCY_FAN6_RIPPLE 27 /* RW */
1714#define SENSORS_FSCSCY_TEMP1 28 /* R */
1715#define SENSORS_FSCSCY_TEMP2 29 /* R */
1716#define SENSORS_FSCSCY_TEMP3 30 /* R */
1717#define SENSORS_FSCSCY_TEMP4 31 /* R */
1718#define SENSORS_FSCSCY_TEMP1_STATE 32 /* RW */
1719#define SENSORS_FSCSCY_TEMP2_STATE 33 /* RW */
1720#define SENSORS_FSCSCY_TEMP3_STATE 34 /* RW */
1721#define SENSORS_FSCSCY_TEMP4_STATE 35 /* RW */
1722#define SENSORS_FSCSCY_TEMP1_LIM 36 /* R */
1723#define SENSORS_FSCSCY_TEMP2_LIM 37 /* R */
1724#define SENSORS_FSCSCY_TEMP3_LIM 38 /* R */
1725#define SENSORS_FSCSCY_TEMP4_LIM 39 /* R */
1726#define SENSORS_FSCSCY_TEMP1_MIN 40 /* R */
1727#define SENSORS_FSCSCY_TEMP2_MIN 41 /* R */
1728#define SENSORS_FSCSCY_TEMP3_MIN 42 /* R */
1729#define SENSORS_FSCSCY_TEMP4_MIN 43 /* R */
1730#define SENSORS_FSCSCY_TEMP1_MAX 44 /* R */
1731#define SENSORS_FSCSCY_TEMP2_MAX 45 /* R */
1732#define SENSORS_FSCSCY_TEMP3_MAX 46 /* R */
1733#define SENSORS_FSCSCY_TEMP4_MAX 47 /* R */
1734#define SENSORS_FSCSCY_VOLTAGE1  48/* R */
1735#define SENSORS_FSCSCY_VOLTAGE2  49/* R */
1736#define SENSORS_FSCSCY_VOLTAGE3  50/* R */
1737#define SENSORS_FSCSCY_WDOG_PRESET  51 /* RW */
1738#define SENSORS_FSCSCY_WDOG_STATE   52 /* RW */
1739#define SENSORS_FSCSCY_WDOG_CONTROL 52 /* RW */
1740
1741/* fsc hermes chip */
1742
1743#define SENSORS_FSCHER_PREFIX "fscher"
1744
1745#define SENSORS_FSCHER_REV 1 /* R */
1746#define SENSORS_FSCHER_EVENT 2 /* R */
1747#define SENSORS_FSCHER_CONTROL 3 /* RW */
1748#define SENSORS_FSCHER_FAN1 4 /* R */
1749#define SENSORS_FSCHER_FAN2 5 /* R */
1750#define SENSORS_FSCHER_FAN3 6 /* R */
1751#define SENSORS_FSCHER_PWM1 7 /* RW */
1752#define SENSORS_FSCHER_PWM2 8 /* RW */
1753#define SENSORS_FSCHER_PWM3 9 /* RW */
1754#define SENSORS_FSCHER_FAN1_STATE 10 /* RW */
1755#define SENSORS_FSCHER_FAN2_STATE 11 /* RW */
1756#define SENSORS_FSCHER_FAN3_STATE 12 /* RW */
1757#define SENSORS_FSCHER_FAN1_RIPPLE 13 /* RW */
1758#define SENSORS_FSCHER_FAN2_RIPPLE 14 /* RW */
1759#define SENSORS_FSCHER_FAN3_RIPPLE 15 /* RW */
1760#define SENSORS_FSCHER_TEMP1 16 /* R */
1761#define SENSORS_FSCHER_TEMP2 17 /* R */
1762#define SENSORS_FSCHER_TEMP3 18 /* R */
1763#define SENSORS_FSCHER_TEMP1_STATE 19 /* RW */
1764#define SENSORS_FSCHER_TEMP2_STATE 20 /* RW */
1765#define SENSORS_FSCHER_TEMP3_STATE 21 /* RW */
1766#define SENSORS_FSCHER_VOLTAGE1 22 /* R */
1767#define SENSORS_FSCHER_VOLTAGE2 23 /* R */
1768#define SENSORS_FSCHER_VOLTAGE3 24 /* R */
1769#define SENSORS_FSCHER_WDOG_PRESET 25/* RW */
1770#define SENSORS_FSCHER_WDOG_STATE 26/* RW */
1771#define SENSORS_FSCHER_WDOG_CONTROL 27/* RW */
1772
1773/* PCF8591 chip. */
1774
1775#define SENSORS_PCF8591_PREFIX "pcf8591"
1776
1777#define SENSORS_PCF8591_AIN_CONF 1 /* RW */
1778#define SENSORS_PCF8591_CH0 2 /* R */
1779#define SENSORS_PCF8591_CH1 3 /* R */
1780#define SENSORS_PCF8591_CH2 4 /* R */
1781#define SENSORS_PCF8591_CH3 5 /* R */
1782#define SENSORS_PCF8591_AOUT_ENABLE 6 /* RW */
1783#define SENSORS_PCF8591_AOUT 7 /* RW */
1784
1785
1786#define SENSORS_VT1211_PREFIX "vt1211"
1787
1788#define SENSORS_VT1211_IN0 1 /* R */
1789#define SENSORS_VT1211_IN1 2 /* R */
1790#define SENSORS_VT1211_IN2 3 /* R */
1791#define SENSORS_VT1211_IN3 4 /* R */
1792#define SENSORS_VT1211_IN4 5 /* R */
1793#define SENSORS_VT1211_IN5 6 /* R */
1794#define SENSORS_VT1211_IN0_MIN 11 /* RW */
1795#define SENSORS_VT1211_IN1_MIN 12 /* RW */
1796#define SENSORS_VT1211_IN2_MIN 13 /* RW */
1797#define SENSORS_VT1211_IN3_MIN 14 /* RW */
1798#define SENSORS_VT1211_IN4_MIN 15 /* RW */
1799#define SENSORS_VT1211_IN5_MIN 16 /* RW */
1800#define SENSORS_VT1211_IN0_MAX 21 /* RW */
1801#define SENSORS_VT1211_IN1_MAX 22 /* RW */
1802#define SENSORS_VT1211_IN2_MAX 23 /* RW */
1803#define SENSORS_VT1211_IN3_MAX 24 /* RW */
1804#define SENSORS_VT1211_IN4_MAX 25 /* RW */
1805#define SENSORS_VT1211_IN5_MAX 26 /* RW */
1806#define SENSORS_VT1211_FAN1 31 /* R */
1807#define SENSORS_VT1211_FAN2 32 /* R */
1808#define SENSORS_VT1211_FAN1_MIN 41 /* RW */
1809#define SENSORS_VT1211_FAN2_MIN 42 /* RW */
1810#define SENSORS_VT1211_TEMP1 51 /* R */
1811#define SENSORS_VT1211_TEMP1_HYST 52 /* RW */
1812#define SENSORS_VT1211_TEMP1_OVER 53 /* RW */
1813#define SENSORS_VT1211_TEMP2 54 /* R */
1814#define SENSORS_VT1211_TEMP2_HYST 55 /* RW */
1815#define SENSORS_VT1211_TEMP2_OVER 56 /* RW */
1816#define SENSORS_VT1211_TEMP3 57 /* R */
1817#define SENSORS_VT1211_TEMP3_HYST 58 /* RW */
1818#define SENSORS_VT1211_TEMP3_OVER 59 /* RW */
1819#define SENSORS_VT1211_TEMP4 60 /* R */
1820#define SENSORS_VT1211_TEMP4_HYST 61 /* RW */
1821#define SENSORS_VT1211_TEMP4_OVER 62 /* RW */
1822#define SENSORS_VT1211_TEMP5 63 /* R */
1823#define SENSORS_VT1211_TEMP5_HYST 64 /* RW */
1824#define SENSORS_VT1211_TEMP5_OVER 65 /* RW */
1825#define SENSORS_VT1211_TEMP6 66 /* R */
1826#define SENSORS_VT1211_TEMP6_HYST 67 /* RW */
1827#define SENSORS_VT1211_TEMP6_OVER 68 /* RW */
1828#define SENSORS_VT1211_TEMP7 69 /* R */
1829#define SENSORS_VT1211_TEMP7_HYST 70 /* RW */
1830#define SENSORS_VT1211_TEMP7_OVER 71 /* RW */
1831#define SENSORS_VT1211_FAN1_DIV 75 /* RW */
1832#define SENSORS_VT1211_FAN2_DIV 76 /* RW */
1833#define SENSORS_VT1211_ALARMS 81 /* R */
1834#define SENSORS_VT1211_VID 82 /* R */
1835#define SENSORS_VT1211_VRM 83 /* RW */
1836#define SENSORS_VT1211_UCH 84 /* RW */
1837
1838#define SENSORS_SMSC47M1_PREFIX "smsc47m1"
1839#define SENSORS_SMSC47M2_PREFIX "smsc47m2"
1840
1841#define SENSORS_SMSC47M1_FAN1 31 /* R */
1842#define SENSORS_SMSC47M1_FAN2 32 /* R */
1843#define SENSORS_SMSC47M1_FAN3 33 /* R */
1844#define SENSORS_SMSC47M1_FAN1_MIN 41 /* RW */
1845#define SENSORS_SMSC47M1_FAN2_MIN 42 /* RW */
1846#define SENSORS_SMSC47M1_FAN3_MIN 43 /* RW */
1847#define SENSORS_SMSC47M1_FAN1_DIV 75 /* RW */
1848#define SENSORS_SMSC47M1_FAN2_DIV 76 /* RW */
1849#define SENSORS_SMSC47M1_FAN3_DIV 77 /* RW */
1850#define SENSORS_SMSC47M1_ALARMS 81 /* R */
1851
1852#define SENSORS_SMSC47M192_PREFIX "smsc47m192"
1853
1854#define SENSORS_SMSC47M192_IN(n)                (1 + (n))       /* R */
1855#define SENSORS_SMSC47M192_IN_MIN(n)            (21 + (n))      /* RW */
1856#define SENSORS_SMSC47M192_IN_MAX(n)            (41 + (n))      /* RW */
1857#define SENSORS_SMSC47M192_IN_ALARM(n)          (61 + (n))      /* R */
1858#define SENSORS_SMSC47M192_TEMP(n)              (100 + (n))     /* R */
1859#define SENSORS_SMSC47M192_TEMP_MAX(n)          (120 + (n))     /* RW */
1860#define SENSORS_SMSC47M192_TEMP_MIN(n)          (140 + (n))     /* RW */
1861#define SENSORS_SMSC47M192_TEMP_OFFSET(n)       (160 + (n))     /* RW */
1862#define SENSORS_SMSC47M192_TEMP_ALARM(n)        (180 + (n))     /* R */
1863#define SENSORS_SMSC47M192_TEMP_FAULT(n)        (200 + (n))     /* R */
1864#define SENSORS_SMSC47M192_VID                  301             /* R */
1865#define SENSORS_SMSC47M192_VRM                  302             /* RW */
1866
1867#define SENSORS_PC87360_PREFIX "pc87360"
1868#define SENSORS_PC87363_PREFIX "pc87363"
1869#define SENSORS_PC87364_PREFIX "pc87364"
1870#define SENSORS_PC87365_PREFIX "pc87365"
1871#define SENSORS_PC87366_PREFIX "pc87366"
1872
1873#define SENSORS_PC87360_ALARMS_IN       10      /* R */
1874#define SENSORS_PC87360_ALARMS_TEMP     11      /* R */
1875
1876#define SENSORS_PC87360_FAN1            31      /* R */
1877#define SENSORS_PC87360_FAN2            32      /* R */
1878#define SENSORS_PC87360_FAN3            33      /* R */
1879#define SENSORS_PC87360_FAN1_MIN        41      /* RW */
1880#define SENSORS_PC87360_FAN2_MIN        42      /* RW */
1881#define SENSORS_PC87360_FAN3_MIN        43      /* RW */
1882#define SENSORS_PC87360_FAN1_DIV        71      /* R */
1883#define SENSORS_PC87360_FAN2_DIV        72      /* R */
1884#define SENSORS_PC87360_FAN3_DIV        73      /* R */
1885#define SENSORS_PC87360_FAN1_STATUS     81      /* R */
1886#define SENSORS_PC87360_FAN2_STATUS     82      /* R */
1887#define SENSORS_PC87360_FAN3_STATUS     83      /* R */
1888
1889#define SENSORS_PC87360_IN0             90      /* R */
1890#define SENSORS_PC87360_IN1             91      /* R */
1891#define SENSORS_PC87360_IN2             92      /* R */
1892#define SENSORS_PC87360_IN3             93      /* R */
1893#define SENSORS_PC87360_IN4             94      /* R */
1894#define SENSORS_PC87360_IN5             95      /* R */
1895#define SENSORS_PC87360_IN6             96      /* R */
1896#define SENSORS_PC87360_IN7             97      /* R */
1897#define SENSORS_PC87360_IN8             98      /* R */
1898#define SENSORS_PC87360_IN9             99      /* R */
1899#define SENSORS_PC87360_IN10            100     /* R */
1900#define SENSORS_PC87360_IN0_MIN         110     /* RW */
1901#define SENSORS_PC87360_IN1_MIN         111     /* RW */
1902#define SENSORS_PC87360_IN2_MIN         112     /* RW */
1903#define SENSORS_PC87360_IN3_MIN         113     /* RW */
1904#define SENSORS_PC87360_IN4_MIN         114     /* RW */
1905#define SENSORS_PC87360_IN5_MIN         115     /* RW */
1906#define SENSORS_PC87360_IN6_MIN         116     /* RW */
1907#define SENSORS_PC87360_IN7_MIN         117     /* RW */
1908#define SENSORS_PC87360_IN8_MIN         118     /* RW */
1909#define SENSORS_PC87360_IN9_MIN         119     /* RW */
1910#define SENSORS_PC87360_IN10_MIN        120     /* RW */
1911#define SENSORS_PC87360_IN0_MAX         130     /* RW */
1912#define SENSORS_PC87360_IN1_MAX         131     /* RW */
1913#define SENSORS_PC87360_IN2_MAX         132     /* RW */
1914#define SENSORS_PC87360_IN3_MAX         133     /* RW */
1915#define SENSORS_PC87360_IN4_MAX         134     /* RW */
1916#define SENSORS_PC87360_IN5_MAX         135     /* RW */
1917#define SENSORS_PC87360_IN6_MAX         136     /* RW */
1918#define SENSORS_PC87360_IN7_MAX         137     /* RW */
1919#define SENSORS_PC87360_IN8_MAX         138     /* RW */
1920#define SENSORS_PC87360_IN9_MAX         139     /* RW */
1921#define SENSORS_PC87360_IN10_MAX        140     /* RW */
1922#define SENSORS_PC87360_IN0_STATUS      150     /* R */
1923#define SENSORS_PC87360_IN1_STATUS      151     /* R */
1924#define SENSORS_PC87360_IN2_STATUS      152     /* R */
1925#define SENSORS_PC87360_IN3_STATUS      153     /* R */
1926#define SENSORS_PC87360_IN4_STATUS      154     /* R */
1927#define SENSORS_PC87360_IN5_STATUS      155     /* R */
1928#define SENSORS_PC87360_IN6_STATUS      156     /* R */
1929#define SENSORS_PC87360_IN7_STATUS      157     /* R */
1930#define SENSORS_PC87360_IN8_STATUS      158     /* R */
1931#define SENSORS_PC87360_IN9_STATUS      159     /* R */
1932#define SENSORS_PC87360_IN10_STATUS     160     /* R */
1933
1934#define SENSORS_PC87360_TEMP1           171     /* R */
1935#define SENSORS_PC87360_TEMP2           172     /* R */
1936#define SENSORS_PC87360_TEMP3           173     /* R */
1937#define SENSORS_PC87360_TEMP4           174     /* R */
1938#define SENSORS_PC87360_TEMP5           175     /* R */
1939#define SENSORS_PC87360_TEMP6           176     /* R */
1940#define SENSORS_PC87360_TEMP1_MIN       181     /* RW */
1941#define SENSORS_PC87360_TEMP2_MIN       182     /* RW */
1942#define SENSORS_PC87360_TEMP3_MIN       183     /* RW */
1943#define SENSORS_PC87360_TEMP4_MIN       184     /* RW */
1944#define SENSORS_PC87360_TEMP5_MIN       185     /* RW */
1945#define SENSORS_PC87360_TEMP6_MIN       186     /* RW */
1946#define SENSORS_PC87360_TEMP1_MAX       191     /* RW */
1947#define SENSORS_PC87360_TEMP2_MAX       192     /* RW */
1948#define SENSORS_PC87360_TEMP3_MAX       193     /* RW */
1949#define SENSORS_PC87360_TEMP4_MAX       194     /* RW */
1950#define SENSORS_PC87360_TEMP5_MAX       195     /* RW */
1951#define SENSORS_PC87360_TEMP6_MAX       196     /* RW */
1952#define SENSORS_PC87360_TEMP1_CRIT      201     /* RW */
1953#define SENSORS_PC87360_TEMP2_CRIT      202     /* RW */
1954#define SENSORS_PC87360_TEMP3_CRIT      203     /* RW */
1955#define SENSORS_PC87360_TEMP4_CRIT      204     /* RW */
1956#define SENSORS_PC87360_TEMP5_CRIT      205     /* RW */
1957#define SENSORS_PC87360_TEMP6_CRIT      206     /* RW */
1958#define SENSORS_PC87360_TEMP1_STATUS    211     /* R */
1959#define SENSORS_PC87360_TEMP2_STATUS    212     /* R */
1960#define SENSORS_PC87360_TEMP3_STATUS    213     /* R */
1961#define SENSORS_PC87360_TEMP4_STATUS    214     /* R */
1962#define SENSORS_PC87360_TEMP5_STATUS    215     /* R */
1963#define SENSORS_PC87360_TEMP6_STATUS    216     /* R */
1964
1965#define SENSORS_PC87360_VID             240     /* R */
1966#define SENSORS_PC87360_VRM             241     /* RW */
1967
1968#define SENSORS_PC87427_PREFIX "pc87427"
1969
1970/* fan n from 1 to 8 */
1971#define SENSORS_PC87427_FAN(n)          (n)             /* R */
1972#define SENSORS_PC87427_FAN_MIN(n)      (16 + (n))      /* RW */
1973#define SENSORS_PC87427_FAN_ALARM(n)    (32 + (n))      /* R */
1974#define SENSORS_PC87427_FAN_FAULT(n)    (48 + (n))      /* R */
1975
1976#define SENSORS_LM92_PREFIX "lm92"
1977
1978#define SENSORS_LM92_TEMP_HIGH          1       /* RW */
1979#define SENSORS_LM92_TEMP_LOW           2       /* RW */
1980#define SENSORS_LM92_TEMP_CRIT          3       /* RW */
1981#define SENSORS_LM92_TEMP_HYST          4       /* RW */
1982#define SENSORS_LM92_TEMP                       5       /* R */
1983#define SENSORS_LM92_ALARMS                     6       /* R */
1984
1985#define SENSORS_VT8231_PREFIX "vt8231"
1986
1987#define SENSORS_VT8231_IN0 1 /* R */
1988#define SENSORS_VT8231_IN1 2 /* R */
1989#define SENSORS_VT8231_IN2 3 /* R */
1990#define SENSORS_VT8231_IN3 4 /* R */
1991#define SENSORS_VT8231_IN4 5 /* R */
1992#define SENSORS_VT8231_IN5 6 /* R */
1993#define SENSORS_VT8231_IN0_MIN 11 /* RW */
1994#define SENSORS_VT8231_IN1_MIN 12 /* RW */
1995#define SENSORS_VT8231_IN2_MIN 13 /* RW */
1996#define SENSORS_VT8231_IN3_MIN 14 /* RW */
1997#define SENSORS_VT8231_IN4_MIN 15 /* RW */
1998#define SENSORS_VT8231_IN5_MIN 16 /* RW */
1999#define SENSORS_VT8231_IN0_MAX 21 /* RW */
2000#define SENSORS_VT8231_IN1_MAX 22 /* RW */
2001#define SENSORS_VT8231_IN2_MAX 23 /* RW */
2002#define SENSORS_VT8231_IN3_MAX 24 /* RW */
2003#define SENSORS_VT8231_IN4_MAX 25 /* RW */
2004#define SENSORS_VT8231_IN5_MAX 26 /* RW */
2005#define SENSORS_VT8231_FAN1 31 /* R */
2006#define SENSORS_VT8231_FAN2 32 /* R */
2007#define SENSORS_VT8231_FAN1_MIN 41 /* RW */
2008#define SENSORS_VT8231_FAN2_MIN 42 /* RW */
2009#define SENSORS_VT8231_TEMP 51 /* R */
2010#define SENSORS_VT8231_TEMP_HYST 52 /* RW */
2011#define SENSORS_VT8231_TEMP_OVER 53 /* RW */
2012#define SENSORS_VT8231_TEMP2 54 /* R */
2013#define SENSORS_VT8231_TEMP2_HYST 55 /* RW */
2014#define SENSORS_VT8231_TEMP2_OVER 56 /* RW */
2015#define SENSORS_VT8231_TEMP3 57 /* R */
2016#define SENSORS_VT8231_TEMP3_HYST 58 /* RW */
2017#define SENSORS_VT8231_TEMP3_OVER 59 /* RW */
2018#define SENSORS_VT8231_TEMP4 60 /* R */
2019#define SENSORS_VT8231_TEMP4_HYST 61 /* RW */
2020#define SENSORS_VT8231_TEMP4_OVER 62 /* RW */
2021#define SENSORS_VT8231_TEMP5 63 /* R */
2022#define SENSORS_VT8231_TEMP5_HYST 64 /* RW */
2023#define SENSORS_VT8231_TEMP5_OVER 65 /* RW */
2024#define SENSORS_VT8231_TEMP6 66 /* R */
2025#define SENSORS_VT8231_TEMP6_HYST 67 /* RW */
2026#define SENSORS_VT8231_TEMP6_OVER 68 /* RW */
2027#define SENSORS_VT8231_FAN1_DIV 75 /* RW */
2028#define SENSORS_VT8231_FAN2_DIV 76 /* RW */
2029#define SENSORS_VT8231_ALARMS 81 /* R */
2030#define SENSORS_VT8231_VID 82 /* R */
2031#define SENSORS_VT8231_VRM 83 /* RW */
2032#define SENSORS_VT8231_UCH 84 /* RW */
2033
2034#define SENSORS_BMC_PREFIX "bmc"
2035
2036/* quantity of each sensor is unknown, so just define the
2037   first one of each and keep them 100 apart. */
2038#define SENSORS_BMC_ALARMS 1 /* R */
2039#define SENSORS_BMC_IN1 101 /* R */
2040#define SENSORS_BMC_IN1_MIN 201 /* RW */
2041#define SENSORS_BMC_IN1_MAX 301 /* RW */
2042#define SENSORS_BMC_FAN1 1001 /* R */
2043#define SENSORS_BMC_FAN1_MIN 1101 /* RW */
2044#define SENSORS_BMC_TEMP1 2001 /* R */
2045#define SENSORS_BMC_TEMP1_MIN 2101 /* RW */
2046#define SENSORS_BMC_TEMP1_MAX 2201 /* RW */
2047#define SENSORS_BMC_CURR1 3001 /* R */
2048#define SENSORS_BMC_CURR1_MIN 3101 /* RW */
2049#define SENSORS_BMC_CURR1_MAX 3201 /* RW */
2050
2051#define SENSORS_LM93_PREFIX "lm93"
2052
2053#define SENSORS_LM93_IN1                1011
2054#define SENSORS_LM93_IN1_MIN            1012
2055#define SENSORS_LM93_IN1_MAX            1013
2056#define SENSORS_LM93_IN2                1021
2057#define SENSORS_LM93_IN2_MIN            1022
2058#define SENSORS_LM93_IN2_MAX            1023
2059#define SENSORS_LM93_IN3                1031
2060#define SENSORS_LM93_IN3_MIN            1032
2061#define SENSORS_LM93_IN3_MAX            1033
2062#define SENSORS_LM93_IN4                1041
2063#define SENSORS_LM93_IN4_MIN            1042
2064#define SENSORS_LM93_IN4_MAX            1043
2065#define SENSORS_LM93_IN5                1051
2066#define SENSORS_LM93_IN5_MIN            1052
2067#define SENSORS_LM93_IN5_MAX            1053
2068#define SENSORS_LM93_IN6                1061
2069#define SENSORS_LM93_IN6_MIN            1062
2070#define SENSORS_LM93_IN6_MAX            1063
2071#define SENSORS_LM93_IN7                1071
2072#define SENSORS_LM93_IN7_MIN            1072
2073#define SENSORS_LM93_IN7_MAX            1073
2074#define SENSORS_LM93_IN8                1081
2075#define SENSORS_LM93_IN8_MIN            1082
2076#define SENSORS_LM93_IN8_MAX            1083
2077#define SENSORS_LM93_IN9                1091
2078#define SENSORS_LM93_IN9_MIN            1092
2079#define SENSORS_LM93_IN9_MAX            1093
2080#define SENSORS_LM93_IN10               1101
2081#define SENSORS_LM93_IN10_MIN           1102
2082#define SENSORS_LM93_IN10_MAX           1103
2083#define SENSORS_LM93_IN11               1111
2084#define SENSORS_LM93_IN11_MIN           1112
2085#define SENSORS_LM93_IN11_MAX           1113
2086#define SENSORS_LM93_IN12               1121
2087#define SENSORS_LM93_IN12_MIN           1122
2088#define SENSORS_LM93_IN12_MAX           1123
2089#define SENSORS_LM93_IN13               1131
2090#define SENSORS_LM93_IN13_MIN           1132
2091#define SENSORS_LM93_IN13_MAX           1133
2092#define SENSORS_LM93_IN14               1141
2093#define SENSORS_LM93_IN14_MIN           1142
2094#define SENSORS_LM93_IN14_MAX           1143
2095#define SENSORS_LM93_IN15               1151
2096#define SENSORS_LM93_IN15_MIN           1152
2097#define SENSORS_LM93_IN15_MAX           1153
2098#define SENSORS_LM93_IN16               1161
2099#define SENSORS_LM93_IN16_MIN           1162
2100#define SENSORS_LM93_IN16_MAX           1163
2101#define SENSORS_LM93_TEMP1              2011
2102#define SENSORS_LM93_TEMP1_MIN          2012
2103#define SENSORS_LM93_TEMP1_MAX          2013
2104#define SENSORS_LM93_TEMP2              2021
2105#define SENSORS_LM93_TEMP2_MIN          2022
2106#define SENSORS_LM93_TEMP2_MAX          2023
2107#define SENSORS_LM93_TEMP3              2031
2108#define SENSORS_LM93_TEMP3_MIN          2032
2109#define SENSORS_LM93_TEMP3_MAX          2033
2110#define SENSORS_LM93_FAN1               3011
2111#define SENSORS_LM93_FAN1_MIN           3012
2112#define SENSORS_LM93_FAN2               3021
2113#define SENSORS_LM93_FAN2_MIN           3022
2114#define SENSORS_LM93_FAN3               3031
2115#define SENSORS_LM93_FAN3_MIN           3032
2116#define SENSORS_LM93_FAN4               3041
2117#define SENSORS_LM93_FAN4_MIN           3042
2118#define SENSORS_LM93_VID1               4001
2119#define SENSORS_LM93_VID2               4002
2120#define SENSORS_LM93_ALARMS             5001
2121
2122#define SENSORS_ASB100_PREFIX "asb100"
2123
2124#define SENSORS_ASB100_IN0              0x01 /* R */
2125#define SENSORS_ASB100_IN1              0x02 /* R */
2126#define SENSORS_ASB100_IN2              0x03 /* R */
2127#define SENSORS_ASB100_IN3              0x04 /* R */
2128#define SENSORS_ASB100_IN4              0x05 /* R */
2129#define SENSORS_ASB100_IN5              0x06 /* R */
2130#define SENSORS_ASB100_IN6              0x07 /* R */
2131#define SENSORS_ASB100_IN0_MIN          0x11 /* RW */
2132#define SENSORS_ASB100_IN1_MIN          0x12 /* RW */
2133#define SENSORS_ASB100_IN2_MIN          0x13 /* RW */
2134#define SENSORS_ASB100_IN3_MIN          0x14 /* RW */
2135#define SENSORS_ASB100_IN4_MIN          0x15 /* RW */
2136#define SENSORS_ASB100_IN5_MIN          0x16 /* RW */
2137#define SENSORS_ASB100_IN6_MIN          0x17 /* RW */
2138#define SENSORS_ASB100_IN0_MAX          0x21 /* RW */
2139#define SENSORS_ASB100_IN1_MAX          0x22 /* RW */
2140#define SENSORS_ASB100_IN2_MAX          0x23 /* RW */
2141#define SENSORS_ASB100_IN3_MAX          0x24 /* RW */
2142#define SENSORS_ASB100_IN4_MAX          0x25 /* RW */
2143#define SENSORS_ASB100_IN5_MAX          0x26 /* RW */
2144#define SENSORS_ASB100_IN6_MAX          0x27 /* RW */
2145#define SENSORS_ASB100_FAN1             0x31 /* R */
2146#define SENSORS_ASB100_FAN2             0x32 /* R */
2147#define SENSORS_ASB100_FAN3             0x33 /* R */
2148#define SENSORS_ASB100_FAN1_MIN         0x41 /* RW */
2149#define SENSORS_ASB100_FAN2_MIN         0x42 /* RW */
2150#define SENSORS_ASB100_FAN3_MIN         0x43 /* RW */
2151#define SENSORS_ASB100_TEMP1            0x51 /* R */
2152#define SENSORS_ASB100_TEMP1_HYST       0x52 /* RW */
2153#define SENSORS_ASB100_TEMP1_OVER       0x53 /* RW */
2154#define SENSORS_ASB100_TEMP2            0x54 /* R */
2155#define SENSORS_ASB100_TEMP2_HYST       0x55 /* RW */
2156#define SENSORS_ASB100_TEMP2_OVER       0x56 /* RW */
2157#define SENSORS_ASB100_TEMP3            0x57 /* R */
2158#define SENSORS_ASB100_TEMP3_HYST       0x58 /* RW */
2159#define SENSORS_ASB100_TEMP3_OVER       0x59 /* RW */
2160#define SENSORS_ASB100_TEMP4            0x5a /* R */
2161#define SENSORS_ASB100_TEMP4_HYST       0x5b /* RW */
2162#define SENSORS_ASB100_TEMP4_OVER       0x5c /* RW */
2163#define SENSORS_ASB100_VID              0x61 /* R */
2164#define SENSORS_ASB100_VRM              0x62 /* RW */
2165#define SENSORS_ASB100_FAN1_DIV         0x71 /* RW */
2166#define SENSORS_ASB100_FAN2_DIV         0x72 /* RW */
2167#define SENSORS_ASB100_FAN3_DIV         0x73 /* RW */
2168#define SENSORS_ASB100_ALARMS           0x81 /* R */
2169#define SENSORS_ASB100_BEEP_ENABLE      0x82 /* RW */
2170#define SENSORS_ASB100_BEEPS            0x83 /* RW */
2171
2172#define SENSORS_XEONTEMP_PREFIX "xeontemp"
2173
2174#define SENSORS_XEONTEMP_REMOTE_TEMP 54 /* R */
2175#define SENSORS_XEONTEMP_REMOTE_TEMP_HYST 55 /* RW */
2176#define SENSORS_XEONTEMP_REMOTE_TEMP_OVER 56 /* RW */
2177#define SENSORS_XEONTEMP_ALARMS 81 /* R */
2178
2179/* MAX1619 chip */
2180
2181#define SENSORS_MAX1619_PREFIX "max1619"
2182
2183#define SENSORS_MAX1619_LOCAL_TEMP      51      /* R */
2184#define SENSORS_MAX1619_REMOTE_TEMP     52      /* R */
2185#define SENSORS_MAX1619_REMOTE_LOW      53      /* RW */
2186#define SENSORS_MAX1619_REMOTE_HIGH     54      /* RW */
2187#define SENSORS_MAX1619_REMOTE_MAX      55      /* RW */
2188#define SENSORS_MAX1619_REMOTE_HYST     56      /* RW */
2189#define SENSORS_MAX1619_ALARMS          81      /* R */
2190
2191/* MAX6650 / 1 chips */
2192
2193#define SENSORS_MAX6650_PREFIX "max6650"
2194
2195#define SENSORS_MAX6650_FAN1_TACH  1 /* R */
2196#define SENSORS_MAX6650_FAN2_TACH  2 /* R */
2197#define SENSORS_MAX6650_FAN3_TACH  3 /* R */
2198#define SENSORS_MAX6650_FAN4_TACH  4 /* R */
2199#define SENSORS_MAX6650_SPEED      5 /* RW */
2200
2201/* SMSC47B397-NC chip */
2202#define SENSORS_SMSC47B397_PREFIX "smsc47b397"
2203
2204#define SENSORS_SMSC47B397_TEMP1        0x01 /* R */
2205#define SENSORS_SMSC47B397_TEMP2        0x02 /* R */
2206#define SENSORS_SMSC47B397_TEMP3        0x03 /* R */
2207#define SENSORS_SMSC47B397_TEMP4        0x04 /* R */
2208#define SENSORS_SMSC47B397_FAN1         0x11 /* R */
2209#define SENSORS_SMSC47B397_FAN2         0x12 /* R */
2210#define SENSORS_SMSC47B397_FAN3         0x13 /* R */
2211#define SENSORS_SMSC47B397_FAN4         0x14 /* R */
2212
2213/* Fintek F71805F/FG and F71872F/FG chips */
2214#define SENSORS_F71805F_PREFIX          "f71805f"
2215#define SENSORS_F71872F_PREFIX          "f71872f"
2216
2217/* in n from 0 to 10 */
2218#define SENSORS_F71805F_IN(n)           (1 + (n))
2219#define SENSORS_F71805F_IN_MIN(n)       (16 + (n))
2220#define SENSORS_F71805F_IN_MAX(n)       (31 + (n))
2221/* fan n from 1 to 3 */
2222#define SENSORS_F71805F_FAN(n)          (50 + (n))
2223#define SENSORS_F71805F_FAN_MIN(n)      (60 + (n))
2224/* temp n from 1 to 3 */
2225#define SENSORS_F71805F_TEMP(n)         (80 + (n))
2226#define SENSORS_F71805F_TEMP_MAX(n)     (90 + (n))
2227#define SENSORS_F71805F_TEMP_HYST(n)    (100 + (n))
2228#define SENSORS_F71805F_TEMP_TYPE(n)    (110 + (n))
2229/* alarms */
2230#define SENSORS_F71805F_ALARMS_IN       200
2231#define SENSORS_F71805F_ALARMS_FAN      201
2232#define SENSORS_F71805F_ALARMS_TEMP     202
2233
2234/* Abit uGuru chip */
2235#define SENSORS_ABITUGURU_PREFIX "abituguru"
2236
2237/* in n from 0 to 10 */
2238#define SENSORS_ABITUGURU_IN(n)                 (0x01 + (n)) /* R */
2239#define SENSORS_ABITUGURU_IN_MIN(n)             (0x11 + (n)) /* RW */
2240#define SENSORS_ABITUGURU_IN_MIN_ALARM(n)       (0x21 + (n)) /* R */
2241#define SENSORS_ABITUGURU_IN_MAX(n)             (0x31 + (n)) /* RW */
2242#define SENSORS_ABITUGURU_IN_MAX_ALARM(n)       (0x41 + (n)) /* R */
2243/* temp n from 1 to 7 */
2244#define SENSORS_ABITUGURU_TEMP(n)               (0x50 + (n)) /* R */
2245#define SENSORS_ABITUGURU_TEMP_ALARM(n)         (0x60 + (n)) /* R */
2246#define SENSORS_ABITUGURU_TEMP_MAX(n)           (0x70 + (n)) /* RW */
2247#define SENSORS_ABITUGURU_TEMP_CRIT(n)          (0x80 + (n)) /* RW */
2248/* fan n from 1 to 6 */
2249#define SENSORS_ABITUGURU_FAN(n)                (0x90 + (n)) /* R */
2250#define SENSORS_ABITUGURU_FAN_ALARM(n)          (0xA0 + (n)) /* R */
2251#define SENSORS_ABITUGURU_FAN_MIN(n)            (0xB0 + (n)) /* RW */
2252
2253/* K8TEMP */
2254#define SENSORS_K8TEMP_PREFIX "k8temp"
2255#define SENSORS_K8TEMP_TEMP1    0x01 /* R */
2256#define SENSORS_K8TEMP_TEMP2    0x02 /* R */
2257#define SENSORS_K8TEMP_TEMP3    0x03 /* R */
2258#define SENSORS_K8TEMP_TEMP4    0x04 /* R */
2259
2260/* coretemp */
2261
2262#define SENSORS_CORETEMP_PREFIX "coretemp"
2263#define SENSORS_CORETEMP_TEMP1                  0x01 /* R */
2264#define SENSORS_CORETEMP_TEMP1_CRIT             0x02 /* R */
2265#define SENSORS_CORETEMP_TEMP1_CRIT_ALARM       0x03 /* R */
2266
2267/* DME1737 */
2268
2269#define SENSORS_DME1737_PREFIX "dme1737"
2270
2271/* in n from 0 to 6 */
2272#define SENSORS_DME1737_IN(n)                   (0x01 + (n)) /* R */
2273#define SENSORS_DME1737_IN_MIN(n)               (0x11 + (n)) /* RW */
2274#define SENSORS_DME1737_IN_MAX(n)               (0x21 + (n)) /* RW */
2275#define SENSORS_DME1737_IN_ALARM(n)             (0x31 + (n)) /* R */
2276
2277/* temp n from 1 to 3*/
2278#define SENSORS_DME1737_TEMP(n)                 (0x41 + (n)) /* R */
2279#define SENSORS_DME1737_TEMP_MIN(n)             (0x51 + (n)) /* RW */
2280#define SENSORS_DME1737_TEMP_MAX(n)             (0x61 + (n)) /* RW */
2281#define SENSORS_DME1737_TEMP_ALARM(n)           (0x71 + (n)) /* R */
2282#define SENSORS_DME1737_TEMP_FAULT(n)           (0x81 + (n)) /* R */
2283
2284/* fan n from 1 to 6 */
2285#define SENSORS_DME1737_FAN(n)                  (0x91 + (n)) /* R */
2286#define SENSORS_DME1737_FAN_MIN(n)              (0xa1 + (n)) /* RW */
2287#define SENSORS_DME1737_FAN_ALARM(n)            (0xb1 + (n)) /* R */
2288
2289/* pwm n from 1 to 3 and 5 to 6 */
2290#define SENSORS_DME1737_PWM(n)                  (0xc1 + (n)) /* RW */
2291#define SENSORS_DME1737_PWM_ENABLE(n)           (0xd1 + (n)) /* RW */
2292#define SENSORS_DME1737_PWM_FREQ(n)             (0xe1 + (n)) /* RW */
2293
2294#define SENSORS_DME1737_VID                     (0xf0) /* R */
2295#define SENSORS_DME1737_VRM                     (0xf1) /* RW */
2296
2297/* applesmc */
2298
2299#define SENSORS_APPLESMC_PREFIX "applesmc"
2300
2301/* temp n from 0 to 11 */
2302#define SENSORS_APPLESMC_TEMP(n)                (0x01 + (n)) /* R */
2303
2304/* fan n from 0 to 1 */
2305#define SENSORS_APPLESMC_FAN(n)                 (0x21 + (n)) /* R */
2306#define SENSORS_APPLESMC_FAN_MIN(n)             (0x41 + (n)) /* R */
2307#define SENSORS_APPLESMC_FAN_MAX(n)             (0x61 + (n)) /* R */
2308#define SENSORS_APPLESMC_FAN_SAFE(n)            (0x81 + (n)) /* R */
2309
2310#endif /* def LIB_SENSORS_CHIPS_H */
Note: See TracBrowser for help on using the browser.