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

Revision 1283, 42.7 KB (checked in by mds, 13 years ago)

add support for ADM1023 (adm1021 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/* MAX1617 chips. */
188
189#define SENSORS_MAX1617_PREFIX "max1617"
190
191#define SENSORS_MAX1617_TEMP 51 /* R */
192#define SENSORS_MAX1617_TEMP_HYST 52 /* RW */
193#define SENSORS_MAX1617_TEMP_OVER 53 /* RW */
194#define SENSORS_MAX1617_REMOTE_TEMP 54 /* R */
195#define SENSORS_MAX1617_REMOTE_TEMP_HYST 55 /* RW */
196#define SENSORS_MAX1617_REMOTE_TEMP_OVER 56 /* RW */
197#define SENSORS_MAX1617_ALARMS 81 /* R */
198
199/* MAX1617A chips. */
200
201#define SENSORS_MAX1617A_PREFIX "max1617a"
202
203#define SENSORS_MAX1617A_TEMP 51 /* R */
204#define SENSORS_MAX1617A_TEMP_HYST 52 /* RW */
205#define SENSORS_MAX1617A_TEMP_OVER 53 /* RW */
206#define SENSORS_MAX1617A_REMOTE_TEMP 54 /* R */
207#define SENSORS_MAX1617A_REMOTE_TEMP_HYST 55 /* RW */
208#define SENSORS_MAX1617A_REMOTE_TEMP_OVER 56 /* RW */
209#define SENSORS_MAX1617A_ALARMS 81 /* R */
210
211/* GL518SM chips */
212
213#define SENSORS_GL518_PREFIX "gl518sm"
214
215#define SENSORS_GL518_VDD 1 /* R */
216#define SENSORS_GL518_VIN1 2 /* R */
217#define SENSORS_GL518_VIN2 3 /* R */
218#define SENSORS_GL518_VIN3 4 /* R */
219#define SENSORS_GL518_VDD_MIN 11 /* RW */
220#define SENSORS_GL518_VIN1_MIN 12 /* RW */
221#define SENSORS_GL518_VIN2_MIN 13 /* RW */
222#define SENSORS_GL518_VIN3_MIN 14 /* RW */
223#define SENSORS_GL518_VDD_MAX 21 /* RW */
224#define SENSORS_GL518_VIN1_MAX 22 /* RW */
225#define SENSORS_GL518_VIN2_MAX 23 /* RW */
226#define SENSORS_GL518_VIN3_MAX 24 /* RW */
227#define SENSORS_GL518_FAN1 31 /* R */
228#define SENSORS_GL518_FAN2 32 /* R */
229#define SENSORS_GL518_FAN1_MIN 41 /* RW */
230#define SENSORS_GL518_FAN2_MIN 42 /* RW */
231#define SENSORS_GL518_TEMP 51 /* R */
232#define SENSORS_GL518_TEMP_HYST 52 /* RW */
233#define SENSORS_GL518_TEMP_OVER 53 /* RW */
234#define SENSORS_GL518_FAN1_DIV 71 /* RW */
235#define SENSORS_GL518_FAN2_DIV 72 /* RW */
236#define SENSORS_GL518_ALARMS 81 /* R */
237#define SENSORS_GL518_BEEP_ENABLE 82 /* RW */
238#define SENSORS_GL518_BEEPS 83 /* RW */
239#define SENSORS_GL518_ITERATE 84 /* RW */
240#define SENSORS_GL518_FAN1OFF 85 /* RW */
241#define SENSORS_GL518_FAN1PIN 86 /* RW */
242
243/* GL520SM chips */
244
245#define SENSORS_GL520_PREFIX "gl520sm"
246
247#define SENSORS_GL520_VDD 1 /* R */
248#define SENSORS_GL520_VIN1 2 /* R */
249#define SENSORS_GL520_VIN2 3 /* R */
250#define SENSORS_GL520_VIN3 4 /* R */
251#define SENSORS_GL520_VIN4 5 /* R */
252#define SENSORS_GL520_VDD_MIN 11 /* RW */
253#define SENSORS_GL520_VIN1_MIN 12 /* RW */
254#define SENSORS_GL520_VIN2_MIN 13 /* RW */
255#define SENSORS_GL520_VIN3_MIN 14 /* RW */
256#define SENSORS_GL520_VIN4_MIN 15 /* RW */
257#define SENSORS_GL520_VDD_MAX 21 /* RW */
258#define SENSORS_GL520_VIN1_MAX 22 /* RW */
259#define SENSORS_GL520_VIN2_MAX 23 /* RW */
260#define SENSORS_GL520_VIN3_MAX 24 /* RW */
261#define SENSORS_GL520_VIN4_MAX 25 /* RW */
262#define SENSORS_GL520_FAN1 31 /* R */
263#define SENSORS_GL520_FAN2 32 /* R */
264#define SENSORS_GL520_FAN1_MIN 41 /* RW */
265#define SENSORS_GL520_FAN2_MIN 42 /* RW */
266#define SENSORS_GL520_TEMP1 51 /* R */
267#define SENSORS_GL520_TEMP1_HYST 52 /* RW */
268#define SENSORS_GL520_TEMP1_OVER 53 /* RW */
269#define SENSORS_GL520_TEMP2 54 /* R */
270#define SENSORS_GL520_TEMP2_HYST 55 /* RW */
271#define SENSORS_GL520_TEMP2_OVER 56 /* RW */
272#define SENSORS_GL520_VID 61 /* R */
273#define SENSORS_GL520_FAN1_DIV 71 /* RW */
274#define SENSORS_GL520_FAN2_DIV 72 /* RW */
275#define SENSORS_GL520_ALARMS 81 /* R */
276#define SENSORS_GL520_BEEP_ENABLE 82 /* RW */
277#define SENSORS_GL520_BEEPS 83 /* RW */
278#define SENSORS_GL520_TWOTEMPS 84 /* RW */
279#define SENSORS_GL520_FAN1OFF 85 /* RW */
280
281/* LM80 chips */
282
283#define SENSORS_LM80_PREFIX "lm80"
284
285#define SENSORS_LM80_IN0 1 /* R */
286#define SENSORS_LM80_IN1 2 /* R */
287#define SENSORS_LM80_IN2 3 /* R */
288#define SENSORS_LM80_IN3 4 /* R */
289#define SENSORS_LM80_IN4 5 /* R */
290#define SENSORS_LM80_IN5 6 /* R */
291#define SENSORS_LM80_IN6 7 /* R */
292#define SENSORS_LM80_IN0_MIN 11 /* RW */
293#define SENSORS_LM80_IN1_MIN 12 /* RW */
294#define SENSORS_LM80_IN2_MIN 13 /* RW */
295#define SENSORS_LM80_IN3_MIN 14 /* RW */
296#define SENSORS_LM80_IN4_MIN 15 /* RW */
297#define SENSORS_LM80_IN5_MIN 16 /* RW */
298#define SENSORS_LM80_IN6_MIN 17 /* RW */
299#define SENSORS_LM80_IN0_MAX 21 /* RW */
300#define SENSORS_LM80_IN1_MAX 22 /* RW */
301#define SENSORS_LM80_IN2_MAX 23 /* RW */
302#define SENSORS_LM80_IN3_MAX 24 /* RW */
303#define SENSORS_LM80_IN4_MAX 25 /* R */
304#define SENSORS_LM80_IN5_MAX 26 /* R */
305#define SENSORS_LM80_IN6_MAX 27 /* R */
306#define SENSORS_LM80_FAN1 31 /* R */
307#define SENSORS_LM80_FAN2 32 /* R */
308#define SENSORS_LM80_FAN1_MIN 41 /* RW */
309#define SENSORS_LM80_FAN2_MIN 42 /* RW */
310#define SENSORS_LM80_TEMP 51 /* R */
311#define SENSORS_LM80_TEMP_HOT_HYST 52 /* RW */
312#define SENSORS_LM80_TEMP_HOT_MAX 53 /* RW */
313#define SENSORS_LM80_TEMP_OS_HYST 54 /* RW */
314#define SENSORS_LM80_TEMP_OS_MAX 55 /* RW */
315#define SENSORS_LM80_FAN1_DIV 71 /* RW */
316#define SENSORS_LM80_FAN2_DIV 72 /* RW */
317#define SENSORS_LM80_ALARMS 81 /* R */
318
319
320/* Winbond W83781D chips */
321
322#define SENSORS_W83781D_PREFIX "w83781d"
323
324#define SENSORS_W83781D_IN0 1 /* R */
325#define SENSORS_W83781D_IN1 2 /* R */
326#define SENSORS_W83781D_IN2 3 /* R */
327#define SENSORS_W83781D_IN3 4 /* R */
328#define SENSORS_W83781D_IN4 5 /* R */
329#define SENSORS_W83781D_IN5 6 /* R */
330#define SENSORS_W83781D_IN6 7 /* R */
331#define SENSORS_W83781D_IN0_MIN 11 /* RW */
332#define SENSORS_W83781D_IN1_MIN 12 /* RW */
333#define SENSORS_W83781D_IN2_MIN 13 /* RW */
334#define SENSORS_W83781D_IN3_MIN 14 /* RW */
335#define SENSORS_W83781D_IN4_MIN 15 /* RW */
336#define SENSORS_W83781D_IN5_MIN 16 /* RW */
337#define SENSORS_W83781D_IN6_MIN 17 /* RW */
338#define SENSORS_W83781D_IN0_MAX 21 /* RW */
339#define SENSORS_W83781D_IN1_MAX 22 /* RW */
340#define SENSORS_W83781D_IN2_MAX 23 /* RW */
341#define SENSORS_W83781D_IN3_MAX 24 /* RW */
342#define SENSORS_W83781D_IN4_MAX 25 /* RW */
343#define SENSORS_W83781D_IN5_MAX 26 /* RW */
344#define SENSORS_W83781D_IN6_MAX 27 /* RW */
345#define SENSORS_W83781D_FAN1 31 /* R */
346#define SENSORS_W83781D_FAN2 32 /* R */
347#define SENSORS_W83781D_FAN3 33 /* R */
348#define SENSORS_W83781D_FAN1_MIN 41 /* RW */
349#define SENSORS_W83781D_FAN2_MIN 42 /* RW */
350#define SENSORS_W83781D_FAN3_MIN 43 /* RW */
351#define SENSORS_W83781D_TEMP1 51 /* R */
352#define SENSORS_W83781D_TEMP1_HYST 52 /* RW */
353#define SENSORS_W83781D_TEMP1_OVER 53 /* RW */
354#define SENSORS_W83781D_TEMP2 54 /* R */
355#define SENSORS_W83781D_TEMP2_HYST 55 /* RW */
356#define SENSORS_W83781D_TEMP2_OVER 56 /* RW */
357#define SENSORS_W83781D_TEMP3 57 /* R */
358#define SENSORS_W83781D_TEMP3_HYST 58 /* RW */
359#define SENSORS_W83781D_TEMP3_OVER 59 /* RW */
360#define SENSORS_W83781D_VID 61 /* R */
361#define SENSORS_W83781D_FAN1_DIV 71 /* RW */
362#define SENSORS_W83781D_FAN2_DIV 72 /* RW */
363#define SENSORS_W83781D_FAN3_DIV 73 /* R (yes, really! */
364#define SENSORS_W83781D_ALARMS 81 /* R */
365#define SENSORS_W83781D_BEEP_ENABLE 82 /* RW */
366#define SENSORS_W83781D_BEEPS 83 /* RW */
367#define SENSORS_W83781D_SENS1 91 /* RW */
368#define SENSORS_W83781D_SENS2 92 /* RW */
369#define SENSORS_W83781D_SENS3 93 /* RW */
370
371
372/* Winbond W83782D chips */
373/* Cheat on 627HF for now - no separate #defines */
374/* Cheat on 127F for now - no separate #defines */
375
376#define SENSORS_W83782D_PREFIX "w83782d"
377#define SENSORS_W83627HF_PREFIX "w83627hf"
378#define SENSORS_AS99127F_PREFIX "as99127f"
379
380#define SENSORS_W83782D_IN0 1 /* R */
381#define SENSORS_W83782D_IN1 2 /* R */
382#define SENSORS_W83782D_IN2 3 /* R */
383#define SENSORS_W83782D_IN3 4 /* R */
384#define SENSORS_W83782D_IN4 5 /* R */
385#define SENSORS_W83782D_IN5 6 /* R */
386#define SENSORS_W83782D_IN6 7 /* R */
387#define SENSORS_W83782D_IN7 8 /* R */
388#define SENSORS_W83782D_IN8 9 /* R */
389#define SENSORS_W83782D_IN0_MIN 11 /* RW */
390#define SENSORS_W83782D_IN1_MIN 12 /* RW */
391#define SENSORS_W83782D_IN2_MIN 13 /* RW */
392#define SENSORS_W83782D_IN3_MIN 14 /* RW */
393#define SENSORS_W83782D_IN4_MIN 15 /* RW */
394#define SENSORS_W83782D_IN5_MIN 16 /* RW */
395#define SENSORS_W83782D_IN6_MIN 17 /* RW */
396#define SENSORS_W83782D_IN7_MIN 18 /* RW */
397#define SENSORS_W83782D_IN8_MIN 19 /* RW */
398#define SENSORS_W83782D_IN0_MAX 21 /* RW */
399#define SENSORS_W83782D_IN1_MAX 22 /* RW */
400#define SENSORS_W83782D_IN2_MAX 23 /* RW */
401#define SENSORS_W83782D_IN3_MAX 24 /* RW */
402#define SENSORS_W83782D_IN4_MAX 25 /* RW */
403#define SENSORS_W83782D_IN5_MAX 26 /* RW */
404#define SENSORS_W83782D_IN6_MAX 27 /* RW */
405#define SENSORS_W83782D_IN7_MAX 28 /* RW */
406#define SENSORS_W83782D_IN8_MAX 29 /* RW */
407#define SENSORS_W83782D_FAN1 31 /* R */
408#define SENSORS_W83782D_FAN2 32 /* R */
409#define SENSORS_W83782D_FAN3 33 /* R */
410#define SENSORS_W83782D_FAN1_MIN 41 /* RW */
411#define SENSORS_W83782D_FAN2_MIN 42 /* RW */
412#define SENSORS_W83782D_FAN3_MIN 43 /* RW */
413#define SENSORS_W83782D_TEMP1 51 /* R */
414#define SENSORS_W83782D_TEMP1_HYST 52 /* RW */
415#define SENSORS_W83782D_TEMP1_OVER 53 /* RW */
416#define SENSORS_W83782D_TEMP2 54 /* R */
417#define SENSORS_W83782D_TEMP2_HYST 55 /* RW */
418#define SENSORS_W83782D_TEMP2_OVER 56 /* RW */
419#define SENSORS_W83782D_TEMP3 57 /* R */
420#define SENSORS_W83782D_TEMP3_HYST 58 /* RW */
421#define SENSORS_W83782D_TEMP3_OVER 59 /* RW */
422#define SENSORS_W83782D_VID 61 /* R */
423#define SENSORS_W83782D_FAN1_DIV 71 /* RW */
424#define SENSORS_W83782D_FAN2_DIV 72 /* RW */
425#define SENSORS_W83782D_FAN3_DIV 73 /* R (yes, really! */
426#define SENSORS_W83782D_ALARMS 81 /* R */
427#define SENSORS_W83782D_BEEP_ENABLE 82 /* RW */
428#define SENSORS_W83782D_BEEPS 83 /* RW */
429#define SENSORS_W83782D_SENS1 91 /* RW */
430#define SENSORS_W83782D_SENS2 92 /* RW */
431#define SENSORS_W83782D_SENS3 93 /* RW */
432
433
434/* Winbond W83783S chips */
435/* Cheat on 697HF for now - no separate #defines */
436
437#define SENSORS_W83783S_PREFIX "w83783s"
438#define SENSORS_W83697HF_PREFIX "w83697hf"
439
440#define SENSORS_W83783S_IN0 1 /* R */
441#define SENSORS_W83783S_IN1 2 /* R */
442#define SENSORS_W83783S_IN2 3 /* R */
443#define SENSORS_W83783S_IN3 4 /* R */
444#define SENSORS_W83783S_IN4 5 /* R */
445#define SENSORS_W83783S_IN5 6 /* R */
446#define SENSORS_W83783S_IN6 7 /* R */
447#define SENSORS_W83783S_IN0_MIN 11 /* RW */
448#define SENSORS_W83783S_IN1_MIN 12 /* RW */
449#define SENSORS_W83783S_IN2_MIN 13 /* RW */
450#define SENSORS_W83783S_IN3_MIN 14 /* RW */
451#define SENSORS_W83783S_IN4_MIN 15 /* RW */
452#define SENSORS_W83783S_IN5_MIN 16 /* RW */
453#define SENSORS_W83783S_IN6_MIN 17 /* RW */
454#define SENSORS_W83783S_IN0_MAX 21 /* RW */
455#define SENSORS_W83783S_IN1_MAX 22 /* RW */
456#define SENSORS_W83783S_IN2_MAX 23 /* RW */
457#define SENSORS_W83783S_IN3_MAX 24 /* RW */
458#define SENSORS_W83783S_IN4_MAX 25 /* RW */
459#define SENSORS_W83783S_IN5_MAX 26 /* RW */
460#define SENSORS_W83783S_IN6_MAX 27 /* RW */
461#define SENSORS_W83783S_FAN1 31 /* R */
462#define SENSORS_W83783S_FAN2 32 /* R */
463#define SENSORS_W83783S_FAN3 33 /* R */
464#define SENSORS_W83783S_FAN1_MIN 41 /* RW */
465#define SENSORS_W83783S_FAN2_MIN 42 /* RW */
466#define SENSORS_W83783S_FAN3_MIN 43 /* RW */
467#define SENSORS_W83783S_TEMP1 51 /* R */
468#define SENSORS_W83783S_TEMP1_HYST 52 /* RW */
469#define SENSORS_W83783S_TEMP1_OVER 53 /* RW */
470#define SENSORS_W83783S_TEMP2 54 /* R */
471#define SENSORS_W83783S_TEMP2_HYST 55 /* RW */
472#define SENSORS_W83783S_TEMP2_OVER 56 /* RW */
473#define SENSORS_W83783S_VID 61 /* R */
474#define SENSORS_W83783S_FAN1_DIV 71 /* RW */
475#define SENSORS_W83783S_FAN2_DIV 72 /* RW */
476#define SENSORS_W83783S_FAN3_DIV 73 /* R (yes, really! */
477#define SENSORS_W83783S_ALARMS 81 /* R */
478#define SENSORS_W83783S_BEEP_ENABLE 82 /* RW */
479#define SENSORS_W83783S_BEEPS 83 /* RW */
480#define SENSORS_W83783S_SENS1 91 /* RW */
481#define SENSORS_W83783S_SENS2 92 /* RW */
482
483
484/* Analog Devices ADM9240 chips */
485
486#define SENSORS_ADM9240_PREFIX "adm9240"
487/* Cheat on LM81 for now - no separate #defines */
488#define SENSORS_LM81_PREFIX "lm81"
489
490#define SENSORS_ADM9240_IN0 1 /* R */
491#define SENSORS_ADM9240_IN1 2 /* R */
492#define SENSORS_ADM9240_IN2 3 /* R */
493#define SENSORS_ADM9240_IN3 4 /* R */
494#define SENSORS_ADM9240_IN4 5 /* R */
495#define SENSORS_ADM9240_IN5 6 /* R */
496#define SENSORS_ADM9240_IN0_MIN 11 /* RW */
497#define SENSORS_ADM9240_IN1_MIN 12 /* RW */
498#define SENSORS_ADM9240_IN2_MIN 13 /* RW */
499#define SENSORS_ADM9240_IN3_MIN 14 /* RW */
500#define SENSORS_ADM9240_IN4_MIN 15 /* RW */
501#define SENSORS_ADM9240_IN5_MIN 16 /* RW */
502#define SENSORS_ADM9240_IN0_MAX 21 /* RW */
503#define SENSORS_ADM9240_IN1_MAX 22 /* RW */
504#define SENSORS_ADM9240_IN2_MAX 23 /* RW */
505#define SENSORS_ADM9240_IN3_MAX 24 /* RW */
506#define SENSORS_ADM9240_IN4_MAX 25 /* RW */
507#define SENSORS_ADM9240_IN5_MAX 26 /* RW */
508#define SENSORS_ADM9240_FAN1 31 /* R */
509#define SENSORS_ADM9240_FAN2 32 /* R */
510#define SENSORS_ADM9240_FAN1_MIN 41 /* RW */
511#define SENSORS_ADM9240_FAN2_MIN 42 /* RW */
512#define SENSORS_ADM9240_TEMP 51 /* R */
513#define SENSORS_ADM9240_TEMP_HYST 52 /* RW */
514#define SENSORS_ADM9240_TEMP_OVER 53 /* RW */
515#define SENSORS_ADM9240_VID 61 /* R */
516#define SENSORS_ADM9240_FAN1_DIV 71 /* RW */
517#define SENSORS_ADM9240_FAN2_DIV 72 /* RW */
518#define SENSORS_ADM9240_ALARMS 81 /* R */
519#define SENSORS_ADM9240_ANALOG_OUT 82 /* RW */
520
521/* Analog Devices ADM9240 chips */
522
523#define SENSORS_DS1780_PREFIX "ds1780"
524
525#define SENSORS_DS1780_IN0 1 /* R */
526#define SENSORS_DS1780_IN1 2 /* R */
527#define SENSORS_DS1780_IN2 3 /* R */
528#define SENSORS_DS1780_IN3 4 /* R */
529#define SENSORS_DS1780_IN4 5 /* R */
530#define SENSORS_DS1780_IN5 6 /* R */
531#define SENSORS_DS1780_IN0_MIN 11 /* RW */
532#define SENSORS_DS1780_IN1_MIN 12 /* RW */
533#define SENSORS_DS1780_IN2_MIN 13 /* RW */
534#define SENSORS_DS1780_IN3_MIN 14 /* RW */
535#define SENSORS_DS1780_IN4_MIN 15 /* RW */
536#define SENSORS_DS1780_IN5_MIN 16 /* RW */
537#define SENSORS_DS1780_IN0_MAX 21 /* RW */
538#define SENSORS_DS1780_IN1_MAX 22 /* RW */
539#define SENSORS_DS1780_IN2_MAX 23 /* RW */
540#define SENSORS_DS1780_IN3_MAX 24 /* RW */
541#define SENSORS_DS1780_IN4_MAX 25 /* RW */
542#define SENSORS_DS1780_IN5_MAX 26 /* RW */
543#define SENSORS_DS1780_FAN1 31 /* R */
544#define SENSORS_DS1780_FAN2 32 /* R */
545#define SENSORS_DS1780_FAN1_MIN 41 /* RW */
546#define SENSORS_DS1780_FAN2_MIN 42 /* RW */
547#define SENSORS_DS1780_TEMP 51 /* R */
548#define SENSORS_DS1780_TEMP_HYST 52 /* RW */
549#define SENSORS_DS1780_TEMP_OVER 53 /* RW */
550#define SENSORS_DS1780_VID 61 /* R */
551#define SENSORS_DS1780_FAN1_DIV 71 /* RW */
552#define SENSORS_DS1780_FAN2_DIV 72 /* RW */
553#define SENSORS_DS1780_ALARMS 81 /* R */
554#define SENSORS_DS1780_ANALOG_OUT 82 /* RW */
555
556/* SiS southbridge with integrated lm78 */
557
558#define SENSORS_SIS5595_PREFIX "sis5595"
559
560#define SENSORS_SIS5595_IN0 1 /* R */
561#define SENSORS_SIS5595_IN1 2 /* R */
562#define SENSORS_SIS5595_IN2 3 /* R */
563#define SENSORS_SIS5595_IN3 4 /* R */
564#define SENSORS_SIS5595_IN4 4 /* R */
565#define SENSORS_SIS5595_IN0_MIN 11 /* RW */
566#define SENSORS_SIS5595_IN1_MIN 12 /* RW */
567#define SENSORS_SIS5595_IN2_MIN 13 /* RW */
568#define SENSORS_SIS5595_IN3_MIN 14 /* RW */
569#define SENSORS_SIS5595_IN4_MIN 14 /* RW */
570#define SENSORS_SIS5595_IN0_MAX 21 /* RW */
571#define SENSORS_SIS5595_IN1_MAX 22 /* RW */
572#define SENSORS_SIS5595_IN2_MAX 23 /* RW */
573#define SENSORS_SIS5595_IN3_MAX 24 /* RW */
574#define SENSORS_SIS5595_IN4_MAX 24 /* RW */
575#define SENSORS_SIS5595_FAN1 31 /* R */
576#define SENSORS_SIS5595_FAN2 32 /* R */
577#define SENSORS_SIS5595_FAN1_MIN 41 /* RW */
578#define SENSORS_SIS5595_FAN2_MIN 42 /* RW */
579#define SENSORS_SIS5595_TEMP 51 /* R */
580#define SENSORS_SIS5595_TEMP_HYST 52 /* RW */
581#define SENSORS_SIS5595_TEMP_OVER 53 /* RW */
582#define SENSORS_SIS5595_FAN1_DIV 71 /* RW */
583#define SENSORS_SIS5595_FAN2_DIV 72 /* RW */
584#define SENSORS_SIS5595_ALARMS 81 /* R */
585
586
587/* HP MaxiLife chips */
588
589#define SENSORS_MAXI_CG_PREFIX "maxilife-cg"
590#define SENSORS_MAXI_CO_PREFIX "maxilife-co"
591#define SENSORS_MAXI_AS_PREFIX "maxilife-as"
592#define SENSORS_MAXI_NBA_PREFIX "maxilife-nba"
593
594#define SENSORS_MAXI_CG_FAN1 1 /* R */
595#define SENSORS_MAXI_CG_FAN2 2 /* R */
596#define SENSORS_MAXI_CG_FAN3 3 /* R */
597#define SENSORS_MAXI_CG_FAN1_MIN 11 /* RW */
598#define SENSORS_MAXI_CG_FAN2_MIN 12 /* RW */
599#define SENSORS_MAXI_CG_FAN3_MIN 13 /* RW */
600#define SENSORS_MAXI_CG_FAN1_DIV 14 /* R */
601#define SENSORS_MAXI_CG_FAN2_DIV 15 /* R */
602#define SENSORS_MAXI_CG_FAN3_DIV 16 /* R */
603#define SENSORS_MAXI_CG_TEMP1 21 /* R */
604#define SENSORS_MAXI_CG_TEMP2 22 /* R */
605#define SENSORS_MAXI_CG_TEMP3 23 /* R */
606#define SENSORS_MAXI_CG_TEMP4 24 /* R */
607#define SENSORS_MAXI_CG_TEMP5 25 /* R */
608#define SENSORS_MAXI_CG_TEMP1_MAX 31 /* R */
609#define SENSORS_MAXI_CG_TEMP2_MAX 32 /* R */
610#define SENSORS_MAXI_CG_TEMP3_MAX 33 /* R */
611#define SENSORS_MAXI_CG_TEMP4_MAX 34 /* R */
612#define SENSORS_MAXI_CG_TEMP5_MAX 35 /* R */
613#define SENSORS_MAXI_CG_TEMP1_HYST 41 /* R */
614#define SENSORS_MAXI_CG_TEMP2_HYST 42 /* R */
615#define SENSORS_MAXI_CG_TEMP3_HYST 43 /* R */
616#define SENSORS_MAXI_CG_TEMP4_HYST 44 /* R */
617#define SENSORS_MAXI_CG_TEMP5_HYST 45 /* R */
618#define SENSORS_MAXI_CG_PLL 51 /* R */
619#define SENSORS_MAXI_CG_PLL_MIN 52 /* RW */
620#define SENSORS_MAXI_CG_PLL_MAX 53 /* RW */
621#define SENSORS_MAXI_CG_VID1 61 /* R */
622#define SENSORS_MAXI_CG_VID2 62 /* R */
623#define SENSORS_MAXI_CG_VID3 63 /* R */
624#define SENSORS_MAXI_CG_VID4 64 /* R */
625#define SENSORS_MAXI_CG_VID1_MIN 71 /* RW */
626#define SENSORS_MAXI_CG_VID2_MIN 72 /* RW */
627#define SENSORS_MAXI_CG_VID3_MIN 73 /* RW */
628#define SENSORS_MAXI_CG_VID4_MIN 74 /* RW */
629#define SENSORS_MAXI_CG_VID1_MAX 81 /* RW */
630#define SENSORS_MAXI_CG_VID2_MAX 82 /* RW */
631#define SENSORS_MAXI_CG_VID3_MAX 83 /* RW */
632#define SENSORS_MAXI_CG_VID4_MAX 84 /* RW */
633#define SENSORS_MAXI_CG_ALARMS 91 /* R */
634
635#define SENSORS_MAXI_CO_FAN1 1 /* R */
636#define SENSORS_MAXI_CO_FAN2 2 /* R */
637#define SENSORS_MAXI_CO_FAN3 3 /* R */
638#define SENSORS_MAXI_CO_FAN1_MIN 11 /* RW */
639#define SENSORS_MAXI_CO_FAN2_MIN 12 /* RW */
640#define SENSORS_MAXI_CO_FAN3_MIN 13 /* RW */
641#define SENSORS_MAXI_CO_FAN1_DIV 14 /* R */
642#define SENSORS_MAXI_CO_FAN2_DIV 15 /* R */
643#define SENSORS_MAXI_CO_FAN3_DIV 16 /* R */
644#define SENSORS_MAXI_CO_TEMP1 21 /* R */
645#define SENSORS_MAXI_CO_TEMP2 22 /* R */
646#define SENSORS_MAXI_CO_TEMP3 23 /* R */
647#define SENSORS_MAXI_CO_TEMP4 24 /* R */
648#define SENSORS_MAXI_CO_TEMP5 25 /* R */
649#define SENSORS_MAXI_CO_TEMP1_MAX 31 /* R */
650#define SENSORS_MAXI_CO_TEMP2_MAX 32 /* R */
651#define SENSORS_MAXI_CO_TEMP3_MAX 33 /* R */
652#define SENSORS_MAXI_CO_TEMP4_MAX 34 /* R */
653#define SENSORS_MAXI_CO_TEMP5_MAX 35 /* R */
654#define SENSORS_MAXI_CO_TEMP1_HYST 41 /* R */
655#define SENSORS_MAXI_CO_TEMP2_HYST 42 /* R */
656#define SENSORS_MAXI_CO_TEMP3_HYST 43 /* R */
657#define SENSORS_MAXI_CO_TEMP4_HYST 44 /* R */
658#define SENSORS_MAXI_CO_TEMP5_HYST 45 /* R */
659#define SENSORS_MAXI_CO_PLL 51 /* R */
660#define SENSORS_MAXI_CO_PLL_MIN 52 /* RW */
661#define SENSORS_MAXI_CO_PLL_MAX 53 /* RW */
662#define SENSORS_MAXI_CO_VID1 61 /* R */
663#define SENSORS_MAXI_CO_VID2 62 /* R */
664#define SENSORS_MAXI_CO_VID3 63 /* R */
665#define SENSORS_MAXI_CO_VID4 64 /* R */
666#define SENSORS_MAXI_CO_VID1_MIN 71 /* RW */
667#define SENSORS_MAXI_CO_VID2_MIN 72 /* RW */
668#define SENSORS_MAXI_CO_VID3_MIN 73 /* RW */
669#define SENSORS_MAXI_CO_VID4_MIN 74 /* RW */
670#define SENSORS_MAXI_CO_VID1_MAX 81 /* RW */
671#define SENSORS_MAXI_CO_VID2_MAX 82 /* RW */
672#define SENSORS_MAXI_CO_VID3_MAX 83 /* RW */
673#define SENSORS_MAXI_CO_VID4_MAX 84 /* RW */
674#define SENSORS_MAXI_CO_ALARMS 91 /* R */
675
676#define SENSORS_MAXI_AS_FAN1 1 /* R */
677#define SENSORS_MAXI_AS_FAN2 2 /* R */
678#define SENSORS_MAXI_AS_FAN3 3 /* R */
679#define SENSORS_MAXI_AS_FAN1_MIN 11 /* RW */
680#define SENSORS_MAXI_AS_FAN2_MIN 12 /* RW */
681#define SENSORS_MAXI_AS_FAN3_MIN 13 /* RW */
682#define SENSORS_MAXI_AS_FAN1_DIV 14 /* R */
683#define SENSORS_MAXI_AS_FAN2_DIV 15 /* R */
684#define SENSORS_MAXI_AS_FAN3_DIV 16 /* R */
685#define SENSORS_MAXI_AS_TEMP1 21 /* R */
686#define SENSORS_MAXI_AS_TEMP2 22 /* R */
687#define SENSORS_MAXI_AS_TEMP3 23 /* R */
688#define SENSORS_MAXI_AS_TEMP4 24 /* R */
689#define SENSORS_MAXI_AS_TEMP5 25 /* R */
690#define SENSORS_MAXI_AS_TEMP1_MAX 31 /* R */
691#define SENSORS_MAXI_AS_TEMP2_MAX 32 /* R */
692#define SENSORS_MAXI_AS_TEMP3_MAX 33 /* R */
693#define SENSORS_MAXI_AS_TEMP4_MAX 34 /* R */
694#define SENSORS_MAXI_AS_TEMP5_MAX 35 /* R */
695#define SENSORS_MAXI_AS_TEMP1_HYST 41 /* R */
696#define SENSORS_MAXI_AS_TEMP2_HYST 42 /* R */
697#define SENSORS_MAXI_AS_TEMP3_HYST 43 /* R */
698#define SENSORS_MAXI_AS_TEMP4_HYST 44 /* R */
699#define SENSORS_MAXI_AS_TEMP5_HYST 45 /* R */
700#define SENSORS_MAXI_AS_PLL 51 /* R */
701#define SENSORS_MAXI_AS_PLL_MIN 52 /* RW */
702#define SENSORS_MAXI_AS_PLL_MAX 53 /* RW */
703#define SENSORS_MAXI_AS_VID1 61 /* R */
704#define SENSORS_MAXI_AS_VID2 62 /* R */
705#define SENSORS_MAXI_AS_VID3 63 /* R */
706#define SENSORS_MAXI_AS_VID4 64 /* R */
707#define SENSORS_MAXI_AS_VID1_MIN 71 /* RW */
708#define SENSORS_MAXI_AS_VID2_MIN 72 /* RW */
709#define SENSORS_MAXI_AS_VID3_MIN 73 /* RW */
710#define SENSORS_MAXI_AS_VID4_MIN 74 /* RW */
711#define SENSORS_MAXI_AS_VID1_MAX 81 /* RW */
712#define SENSORS_MAXI_AS_VID2_MAX 82 /* RW */
713#define SENSORS_MAXI_AS_VID3_MAX 83 /* RW */
714#define SENSORS_MAXI_AS_VID4_MAX 84 /* RW */
715#define SENSORS_MAXI_AS_ALARMS 91 /* R */
716
717/* THMC50/ADM1022 chips */
718
719#define SENSORS_THMC50_PREFIX "thmc50"
720/* Cheat on LM84,GL523,THMC10 for now - no separate #defines */
721#define SENSORS_ADM1022_PREFIX "adm1022"
722
723#define SENSORS_THMC50_TEMP 51 /* R */
724#define SENSORS_THMC50_TEMP_HYST 52 /* RW */
725#define SENSORS_THMC50_TEMP_OVER 53 /* RW */
726#define SENSORS_THMC50_REMOTE_TEMP 54 /* R */
727#define SENSORS_THMC50_REMOTE_TEMP_HYST 55 /* RW */
728#define SENSORS_THMC50_REMOTE_TEMP_OVER 56 /* RW */
729#define SENSORS_THMC50_ANALOG_OUT 71 /* RW */
730#define SENSORS_THMC50_INTER 81 /* R */
731#define SENSORS_THMC50_INTER_MASK 82 /* RW */
732#define SENSORS_THMC50_DIE_CODE 90 /* R */
733
734/* ADM1025 chip */
735
736#define SENSORS_ADM1025_PREFIX "adm1025"
737
738#define SENSORS_ADM1025_IN0 1 /* R */
739#define SENSORS_ADM1025_IN1 2 /* R */
740#define SENSORS_ADM1025_IN2 3 /* R */
741#define SENSORS_ADM1025_IN3 4 /* R */
742#define SENSORS_ADM1025_IN4 5 /* R */
743#define SENSORS_ADM1025_IN5 6 /* R */
744#define SENSORS_ADM1025_IN0_MIN 11 /* RW */
745#define SENSORS_ADM1025_IN1_MIN 12 /* RW */
746#define SENSORS_ADM1025_IN2_MIN 13 /* RW */
747#define SENSORS_ADM1025_IN3_MIN 14 /* RW */
748#define SENSORS_ADM1025_IN4_MIN 15 /* RW */
749#define SENSORS_ADM1025_IN5_MIN 16 /* RW */
750#define SENSORS_ADM1025_IN0_MAX 21 /* RW */
751#define SENSORS_ADM1025_IN1_MAX 22 /* RW */
752#define SENSORS_ADM1025_IN2_MAX 23 /* RW */
753#define SENSORS_ADM1025_IN3_MAX 24 /* RW */
754#define SENSORS_ADM1025_IN4_MAX 25 /* RW */
755#define SENSORS_ADM1025_IN5_MAX 26 /* RW */
756#define SENSORS_ADM1025_TEMP1 51 /* R */
757#define SENSORS_ADM1025_TEMP1_HYST 52 /* RW */
758#define SENSORS_ADM1025_TEMP1_OVER 53 /* RW */
759#define SENSORS_ADM1025_TEMP2 54 /* R */
760#define SENSORS_ADM1025_TEMP2_HYST 55 /* RW */
761#define SENSORS_ADM1025_TEMP2_OVER 56 /* RW */
762#define SENSORS_ADM1025_VID 61 /* R */
763#define SENSORS_ADM1025_ALARMS 81 /* R */
764
765
766/* SiS southbridge with integrated lm78 */
767
768#define SENSORS_VIA686A_PREFIX "via686a"
769
770#define SENSORS_VIA686A_IN0 1 /* R */
771#define SENSORS_VIA686A_IN1 2 /* R */
772#define SENSORS_VIA686A_IN2 3 /* R */
773#define SENSORS_VIA686A_IN3 4 /* R */
774#define SENSORS_VIA686A_IN4 5 /* R */
775#define SENSORS_VIA686A_IN0_MIN 11 /* RW */
776#define SENSORS_VIA686A_IN1_MIN 12 /* RW */
777#define SENSORS_VIA686A_IN2_MIN 13 /* RW */
778#define SENSORS_VIA686A_IN3_MIN 14 /* RW */
779#define SENSORS_VIA686A_IN4_MIN 15 /* RW */
780#define SENSORS_VIA686A_IN0_MAX 21 /* RW */
781#define SENSORS_VIA686A_IN1_MAX 22 /* RW */
782#define SENSORS_VIA686A_IN2_MAX 23 /* RW */
783#define SENSORS_VIA686A_IN3_MAX 24 /* RW */
784#define SENSORS_VIA686A_IN4_MAX 25 /* RW */
785#define SENSORS_VIA686A_FAN1 31 /* R */
786#define SENSORS_VIA686A_FAN2 32 /* R */
787#define SENSORS_VIA686A_FAN1_MIN 41 /* RW */
788#define SENSORS_VIA686A_FAN2_MIN 42 /* RW */
789#define SENSORS_VIA686A_TEMP 51 /* R */
790#define SENSORS_VIA686A_TEMP_HYST 52 /* RW */
791#define SENSORS_VIA686A_TEMP_OVER 53 /* RW */
792#define SENSORS_VIA686A_TEMP2 54 /* R */
793#define SENSORS_VIA686A_TEMP2_HYST 55 /* RW */
794#define SENSORS_VIA686A_TEMP2_OVER 56 /* RW */
795#define SENSORS_VIA686A_TEMP3 57 /* R */
796#define SENSORS_VIA686A_TEMP3_HYST 58 /* RW */
797#define SENSORS_VIA686A_TEMP3_OVER 59 /* RW */
798#define SENSORS_VIA686A_FAN1_DIV 71 /* RW */
799#define SENSORS_VIA686A_FAN2_DIV 72 /* RW */
800#define SENSORS_VIA686A_ALARMS 81 /* R */
801
802
803/* DDC Monitor */
804
805#define SENSORS_DDCMON_PREFIX "ddcmon"
806
807#define SENSORS_DDCMON_ID 10
808#define SENSORS_DDCMON_HORSIZE 21
809#define SENSORS_DDCMON_VERSIZE 22
810#define SENSORS_DDCMON_HORSYNCMIN 31
811#define SENSORS_DDCMON_HORSYNCMAX 32
812#define SENSORS_DDCMON_VERSYNCMIN 33
813#define SENSORS_DDCMON_VERSYNCMAX 34
814#define SENSORS_DDCMON_SERIAL 40
815#define SENSORS_DDCMON_TIMINGS 50
816
817/* EEPROM (SDRAM DIMM) */
818
819#define SENSORS_EEPROM_PREFIX "eeprom"
820
821#define SENSORS_EEPROM_TYPE 10
822#define SENSORS_EEPROM_ROWADDR 12
823#define SENSORS_EEPROM_COLADDR 13
824#define SENSORS_EEPROM_NUMROWS 14
825#define SENSORS_EEPROM_BANKS 15
826
827
828/* Analog Devices LM87 chips */
829
830#define SENSORS_LM87_PREFIX "lm87"
831
832#define SENSORS_LM87_IN0              1 /* R */
833#define SENSORS_LM87_IN1              2 /* R */
834#define SENSORS_LM87_IN2              3 /* R */
835#define SENSORS_LM87_IN3              4 /* R */
836#define SENSORS_LM87_IN4              5 /* R */
837#define SENSORS_LM87_IN5              6 /* R */
838#define SENSORS_LM87_AIN1             7 /* R */
839#define SENSORS_LM87_AIN2             8 /* R */
840#define SENSORS_LM87_IN0_MIN         11 /* RW */
841#define SENSORS_LM87_IN1_MIN         12 /* RW */
842#define SENSORS_LM87_IN2_MIN         13 /* RW */
843#define SENSORS_LM87_IN3_MIN         14 /* RW */
844#define SENSORS_LM87_IN4_MIN         15 /* RW */
845#define SENSORS_LM87_IN5_MIN         16 /* RW */
846#define SENSORS_LM87_AIN1_MIN        17 /* RW */
847#define SENSORS_LM87_AIN2_MIN        18 /* RW */
848#define SENSORS_LM87_IN0_MAX         21 /* RW */
849#define SENSORS_LM87_IN1_MAX         22 /* RW */
850#define SENSORS_LM87_IN2_MAX         23 /* RW */
851#define SENSORS_LM87_IN3_MAX         24 /* RW */
852#define SENSORS_LM87_IN4_MAX         25 /* RW */
853#define SENSORS_LM87_IN5_MAX         26 /* RW */
854#define SENSORS_LM87_AIN1_MAX        27 /* RW */
855#define SENSORS_LM87_AIN2_MAX        28 /* RW */
856#define SENSORS_LM87_FAN1            31 /* R */
857#define SENSORS_LM87_FAN2            32 /* R */
858#define SENSORS_LM87_FAN1_MIN        41 /* RW */
859#define SENSORS_LM87_FAN2_MIN        42 /* RW */
860#define SENSORS_LM87_TEMP1           51 /* R */
861#define SENSORS_LM87_TEMP2           52 /* R */
862#define SENSORS_LM87_TEMP3           53 /* R */
863#define SENSORS_LM87_TEMP1_HYST      54 /* RW */
864#define SENSORS_LM87_TEMP1_OVER      55 /* RW */
865#define SENSORS_LM87_TEMP2_HYST      56 /* RW */
866#define SENSORS_LM87_TEMP2_OVER      57 /* RW */
867#define SENSORS_LM87_TEMP3_HYST      58 /* RW */
868#define SENSORS_LM87_TEMP3_OVER      59 /* RW */
869#define SENSORS_LM87_VID             61 /* R */
870#define SENSORS_LM87_FAN1_DIV        71 /* RW */
871#define SENSORS_LM87_FAN2_DIV        72 /* RW */
872#define SENSORS_LM87_ALARMS          81 /* R */
873#define SENSORS_LM87_ANALOG_OUT      82 /* RW */
874
875/* Myson MTP008 chips */
876
877#define SENSORS_MTP008_PREFIX           "mtp008"
878
879#define SENSORS_MTP008_IN0              1 /* R */
880#define SENSORS_MTP008_IN1              2 /* R */
881#define SENSORS_MTP008_IN2              3 /* R */
882#define SENSORS_MTP008_IN3              4 /* R */
883#define SENSORS_MTP008_IN4              5 /* R */
884#define SENSORS_MTP008_IN5              6 /* R */
885#define SENSORS_MTP008_IN6              7 /* R */
886#define SENSORS_MTP008_IN0_MIN         11 /* RW */
887#define SENSORS_MTP008_IN1_MIN         12 /* RW */
888#define SENSORS_MTP008_IN2_MIN         13 /* RW */
889#define SENSORS_MTP008_IN3_MIN         14 /* RW */
890#define SENSORS_MTP008_IN4_MIN         15 /* RW */
891#define SENSORS_MTP008_IN5_MIN         16 /* RW */
892#define SENSORS_MTP008_IN6_MIN         17 /* RW */
893#define SENSORS_MTP008_IN0_MAX         21 /* RW */
894#define SENSORS_MTP008_IN1_MAX         22 /* RW */
895#define SENSORS_MTP008_IN2_MAX         23 /* RW */
896#define SENSORS_MTP008_IN3_MAX         24 /* RW */
897#define SENSORS_MTP008_IN4_MAX         25 /* RW */
898#define SENSORS_MTP008_IN5_MAX         26 /* RW */
899#define SENSORS_MTP008_IN6_MAX         27 /* RW */
900#define SENSORS_MTP008_FAN1            31 /* R */
901#define SENSORS_MTP008_FAN2            32 /* R */
902#define SENSORS_MTP008_FAN3            33 /* R */
903#define SENSORS_MTP008_FAN1_MIN        41 /* RW */
904#define SENSORS_MTP008_FAN2_MIN        42 /* RW */
905#define SENSORS_MTP008_FAN3_MIN        43 /* RW */
906#define SENSORS_MTP008_TEMP1           51 /* R */
907#define SENSORS_MTP008_TEMP2           52 /* R */
908#define SENSORS_MTP008_TEMP3           53 /* R */
909#define SENSORS_MTP008_TEMP1_OVER      54 /* RW */
910#define SENSORS_MTP008_TEMP1_HYST      55 /* RW */
911#define SENSORS_MTP008_TEMP2_OVER      56 /* RW */
912#define SENSORS_MTP008_TEMP2_HYST      57 /* RW */
913#define SENSORS_MTP008_TEMP3_OVER      58 /* RW */
914#define SENSORS_MTP008_TEMP3_HYST      59 /* RW */
915#define SENSORS_MTP008_VID             61 /* R */
916#define SENSORS_MTP008_FAN1_DIV        71 /* RW */
917#define SENSORS_MTP008_FAN2_DIV        72 /* RW */
918#define SENSORS_MTP008_FAN3_DIV        73 /* RW */
919#define SENSORS_MTP008_ALARMS          81 /* R */
920#define SENSORS_MTP008_BEEP            82 /* RW */
921
922/* DS1621 chips. */
923
924#define SENSORS_DS1621_PREFIX "ds1621"
925
926#define SENSORS_DS1621_TEMP 51 /* R */
927#define SENSORS_DS1621_TEMP_HYST 52 /* RW */
928#define SENSORS_DS1621_TEMP_OVER 53 /* RW */
929#define SENSORS_DS1621_ALARMS 81 /* R */
930#define SENSORS_DS1621_ENABLE 82 /* RW */
931#define SENSORS_DS1621_CONTINUOUS 83 /* RW */
932#define SENSORS_DS1621_POLARITY 84 /* RW */
933
934/* ADM1024 chip */
935
936#define SENSORS_ADM1024_PREFIX "adm1024"
937
938#define SENSORS_ADM1024_IN0 1 /* R */
939#define SENSORS_ADM1024_IN1 2 /* R */
940#define SENSORS_ADM1024_IN2 3 /* R */
941#define SENSORS_ADM1024_IN3 4 /* R */
942#define SENSORS_ADM1024_IN4 5 /* R */
943#define SENSORS_ADM1024_IN5 6 /* R */
944#define SENSORS_ADM1024_IN0_MIN 11 /* RW */
945#define SENSORS_ADM1024_IN1_MIN 12 /* RW */
946#define SENSORS_ADM1024_IN2_MIN 13 /* RW */
947#define SENSORS_ADM1024_IN3_MIN 14 /* RW */
948#define SENSORS_ADM1024_IN4_MIN 15 /* RW */
949#define SENSORS_ADM1024_IN5_MIN 16 /* RW */
950#define SENSORS_ADM1024_IN0_MAX 21 /* RW */
951#define SENSORS_ADM1024_IN1_MAX 22 /* RW */
952#define SENSORS_ADM1024_IN2_MAX 23 /* RW */
953#define SENSORS_ADM1024_IN3_MAX 24 /* RW */
954#define SENSORS_ADM1024_IN4_MAX 25 /* RW */
955#define SENSORS_ADM1024_IN5_MAX 26 /* RW */
956#define SENSORS_ADM1024_FAN1 31 /* R */
957#define SENSORS_ADM1024_FAN2 32 /* R */
958#define SENSORS_ADM1024_FAN1_MIN 41 /* RW */
959#define SENSORS_ADM1024_FAN2_MIN 42 /* RW */
960#define SENSORS_ADM1024_TEMP 51 /* R */
961#define SENSORS_ADM1024_TEMP1 52 /* R */
962#define SENSORS_ADM1024_TEMP2 53 /* R */
963#define SENSORS_ADM1024_TEMP_HYST 61 /* RW */
964#define SENSORS_ADM1024_TEMP_OVER 62 /* RW */
965#define SENSORS_ADM1024_TEMP1_HYST 63 /* RW */
966#define SENSORS_ADM1024_TEMP1_OVER 64 /* RW */
967#define SENSORS_ADM1024_TEMP2_HYST 65 /* RW */
968#define SENSORS_ADM1024_TEMP2_OVER 66 /* RW */
969#define SENSORS_ADM1024_VID 71 /* R */
970#define SENSORS_ADM1024_FAN1_DIV 81 /* RW */
971#define SENSORS_ADM1024_FAN2_DIV 82 /* RW */
972#define SENSORS_ADM1024_ALARMS 91 /* R */
973#define SENSORS_ADM1024_ANALOG_OUT 92 /* RW */
974
975/* IT87xx chips */
976
977#define SENSORS_IT87_PREFIX "it87"
978
979#define SENSORS_IT87_IN0 1 /* R */
980#define SENSORS_IT87_IN1 2 /* R */
981#define SENSORS_IT87_IN2 3 /* R */
982#define SENSORS_IT87_IN3 4 /* R */
983#define SENSORS_IT87_IN4 5 /* R */
984#define SENSORS_IT87_IN5 6 /* R */
985#define SENSORS_IT87_IN6 7 /* R */
986#define SENSORS_IT87_IN7 8 /* R */
987#define SENSORS_IT87_IN8 9 /* R */
988#define SENSORS_IT87_IN0_MIN 11 /* RW */
989#define SENSORS_IT87_IN1_MIN 12 /* RW */
990#define SENSORS_IT87_IN2_MIN 13 /* RW */
991#define SENSORS_IT87_IN3_MIN 14 /* RW */
992#define SENSORS_IT87_IN4_MIN 15 /* RW */
993#define SENSORS_IT87_IN5_MIN 16 /* RW */
994#define SENSORS_IT87_IN6_MIN 17 /* RW */
995#define SENSORS_IT87_IN7_MIN 18 /* RW */
996#define SENSORS_IT87_IN0_MAX 21 /* RW */
997#define SENSORS_IT87_IN1_MAX 22 /* RW */
998#define SENSORS_IT87_IN2_MAX 23 /* RW */
999#define SENSORS_IT87_IN3_MAX 24 /* RW */
1000#define SENSORS_IT87_IN4_MAX 25 /* RW */
1001#define SENSORS_IT87_IN5_MAX 26 /* RW */
1002#define SENSORS_IT87_IN6_MAX 27 /* RW */
1003#define SENSORS_IT87_IN7_MAX 28 /* RW */
1004#define SENSORS_IT87_FAN1 31 /* R */
1005#define SENSORS_IT87_FAN2 32 /* R */
1006#define SENSORS_IT87_FAN3 33 /* R */
1007#define SENSORS_IT87_FAN1_MIN 41 /* RW */
1008#define SENSORS_IT87_FAN2_MIN 42 /* RW */
1009#define SENSORS_IT87_FAN3_MIN 43 /* RW */
1010#define SENSORS_IT87_TEMP1 51 /* R */
1011#define SENSORS_IT87_TEMP2 52 /* R */
1012#define SENSORS_IT87_TEMP3 53 /* R */
1013#define SENSORS_IT87_TEMP1_LOW 54 /* RW */
1014#define SENSORS_IT87_TEMP2_LOW 55 /* RW */
1015#define SENSORS_IT87_TEMP3_LOW 56 /* RW */
1016#define SENSORS_IT87_TEMP1_HIGH 57 /* RW */
1017#define SENSORS_IT87_TEMP2_HIGH 58 /* RW */
1018#define SENSORS_IT87_TEMP3_HIGH 59 /* RW */
1019#define SENSORS_IT87_VID 61 /* R */
1020#define SENSORS_IT87_FAN1_DIV 71 /* RW */
1021#define SENSORS_IT87_FAN2_DIV 72 /* RW */
1022#define SENSORS_IT87_FAN3_DIV 73 /* R (fan3 different) */
1023#define SENSORS_IT87_ALARMS_FAN 81 /* R */
1024#define SENSORS_IT87_ALARMS_VIN 82 /* R */
1025#define SENSORS_IT87_ALARMS_TEMP 83 /* R */
1026#define SENSORS_IT87_ALARMS 84 /* R */
1027
1028
1029/* fsc poseidon chip */
1030
1031#define SENSORS_FSCPOS_PREFIX "fscpos"
1032
1033#define SENSORS_FSCPOS_REV 1 /* R */
1034#define SENSORS_FSCPOS_EVENT 2 /* R */
1035#define SENSORS_FSCPOS_CONTROL 3 /* RW */
1036#define SENSORS_FSCPOS_FAN1 4 /* R */
1037#define SENSORS_FSCPOS_FAN2 5 /* R */
1038#define SENSORS_FSCPOS_FAN3 6 /* R */
1039#define SENSORS_FSCPOS_FAN1_MIN 7 /* RW */
1040#define SENSORS_FSCPOS_FAN2_MIN 8 /* RW */
1041#define SENSORS_FSCPOS_FAN3_MIN 9 /* RW */
1042#define SENSORS_FSCPOS_FAN1_STATE 10 /* RW */
1043#define SENSORS_FSCPOS_FAN2_STATE 11 /* RW */
1044#define SENSORS_FSCPOS_FAN3_STATE 12 /* RW */
1045#define SENSORS_FSCPOS_FAN1_RIPPLE 13 /* RW */
1046#define SENSORS_FSCPOS_FAN2_RIPPLE 14 /* RW */
1047#define SENSORS_FSCPOS_FAN3_RIPPLE 15 /* RW */
1048#define SENSORS_FSCPOS_TEMP1 16 /* R */
1049#define SENSORS_FSCPOS_TEMP2 17 /* R */
1050#define SENSORS_FSCPOS_TEMP3 18 /* R */
1051#define SENSORS_FSCPOS_TEMP1_STATE 19 /* RW */
1052#define SENSORS_FSCPOS_TEMP2_STATE 20 /* RW */
1053#define SENSORS_FSCPOS_TEMP3_STATE 21 /* RW */
1054#define SENSORS_FSCPOS_VOLTAGE1 22 /* R */
1055#define SENSORS_FSCPOS_VOLTAGE2 23 /* R */
1056#define SENSORS_FSCPOS_VOLTAGE3 24 /* R */
1057#define SENSORS_FSCPOS_WDOG_PRESET 25/* RW */
1058#define SENSORS_FSCPOS_WDOG_STATE 26/* RW */
1059#define SENSORS_FSCPOS_WDOG_CONTROL 27/* RW */
1060
1061/* fsc scylla chip */
1062
1063#define SENSORS_FSCSCY_PREFIX "fscscy"
1064
1065#define SENSORS_FSCSCY_REV 1 /* R */
1066#define SENSORS_FSCSCY_EVENT 2 /* R */
1067#define SENSORS_FSCSCY_CONTROL 3 /* RW */
1068#define SENSORS_FSCSCY_FAN1 4 /* R */
1069#define SENSORS_FSCSCY_FAN2 5 /* R */
1070#define SENSORS_FSCSCY_FAN3 6 /* R */
1071#define SENSORS_FSCSCY_FAN4 7 /* R */
1072#define SENSORS_FSCSCY_FAN5 8 /* R */
1073#define SENSORS_FSCSCY_FAN6 9 /* R */
1074#define SENSORS_FSCSCY_FAN1_MIN 10 /* RW */
1075#define SENSORS_FSCSCY_FAN2_MIN 11 /* RW */
1076#define SENSORS_FSCSCY_FAN3_MIN 12 /* RW */
1077#define SENSORS_FSCSCY_FAN4_MIN 13 /* RW */
1078#define SENSORS_FSCSCY_FAN5_MIN 14 /* RW */
1079#define SENSORS_FSCSCY_FAN6_MIN 15 /* RW */
1080#define SENSORS_FSCSCY_FAN1_STATE 16 /* RW */
1081#define SENSORS_FSCSCY_FAN2_STATE 17 /* RW */
1082#define SENSORS_FSCSCY_FAN3_STATE 18 /* RW */
1083#define SENSORS_FSCSCY_FAN4_STATE 19 /* RW */
1084#define SENSORS_FSCSCY_FAN5_STATE 20 /* RW */
1085#define SENSORS_FSCSCY_FAN6_STATE 21 /* RW */
1086#define SENSORS_FSCSCY_FAN1_RIPPLE 22 /* RW */
1087#define SENSORS_FSCSCY_FAN2_RIPPLE 23 /* RW */
1088#define SENSORS_FSCSCY_FAN3_RIPPLE 24 /* RW */
1089#define SENSORS_FSCSCY_FAN4_RIPPLE 25 /* RW */
1090#define SENSORS_FSCSCY_FAN5_RIPPLE 26 /* RW */
1091#define SENSORS_FSCSCY_FAN6_RIPPLE 27 /* RW */
1092#define SENSORS_FSCSCY_TEMP1 28 /* R */
1093#define SENSORS_FSCSCY_TEMP2 29 /* R */
1094#define SENSORS_FSCSCY_TEMP3 30 /* R */
1095#define SENSORS_FSCSCY_TEMP4 31 /* R */
1096#define SENSORS_FSCSCY_TEMP1_STATE 32 /* RW */
1097#define SENSORS_FSCSCY_TEMP2_STATE 33 /* RW */
1098#define SENSORS_FSCSCY_TEMP3_STATE 34 /* RW */
1099#define SENSORS_FSCSCY_TEMP4_STATE 35 /* RW */
1100#define SENSORS_FSCSCY_TEMP1_LIM 36 /* R */
1101#define SENSORS_FSCSCY_TEMP2_LIM 37 /* R */
1102#define SENSORS_FSCSCY_TEMP3_LIM 38 /* R */
1103#define SENSORS_FSCSCY_TEMP4_LIM 39 /* R */
1104#define SENSORS_FSCSCY_TEMP1_MIN 40 /* R */
1105#define SENSORS_FSCSCY_TEMP2_MIN 41 /* R */
1106#define SENSORS_FSCSCY_TEMP3_MIN 42 /* R */
1107#define SENSORS_FSCSCY_TEMP4_MIN 43 /* R */
1108#define SENSORS_FSCSCY_TEMP1_MAX 44 /* R */
1109#define SENSORS_FSCSCY_TEMP2_MAX 45 /* R */
1110#define SENSORS_FSCSCY_TEMP3_MAX 46 /* R */
1111#define SENSORS_FSCSCY_TEMP4_MAX 47 /* R */
1112#define SENSORS_FSCSCY_VOLTAGE1  48/* R */
1113#define SENSORS_FSCSCY_VOLTAGE2  49/* R */
1114#define SENSORS_FSCSCY_VOLTAGE3  50/* R */
1115#define SENSORS_FSCSCY_WDOG_PRESET  51 /* RW */
1116#define SENSORS_FSCSCY_WDOG_STATE   52 /* RW */
1117#define SENSORS_FSCSCY_WDOG_CONTROL 52 /* RW */
1118
1119/* PCF8591 chip. */
1120
1121#define SENSORS_PCF8591_PREFIX "pcf8591"
1122
1123#define SENSORS_PCF8591_AIN_CONF 1 /* RW */
1124#define SENSORS_PCF8591_CH0 2 /* R */
1125#define SENSORS_PCF8591_CH1 3 /* R */
1126#define SENSORS_PCF8591_CH2 4 /* R */
1127#define SENSORS_PCF8591_CH3 5 /* R */
1128#define SENSORS_PCF8591_AOUT_ENABLE 6 /* RW */
1129#define SENSORS_PCF8591_AOUT 7 /* RW */
1130
1131
1132#endif /* def LIB_SENSORS_CHIPS_H */
Note: See TracBrowser for help on using the browser.