File: chips.h

package info (click to toggle)
lm-sensors 1%3A2.10.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,104 kB
  • ctags: 10,474
  • sloc: ansic: 61,469; perl: 7,544; sh: 1,491; makefile: 400; lex: 300; yacc: 291
file content (2219 lines) | stat: -rw-r--r-- 91,567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
/*
    chips.h - Part of libsensors, a Linux library for reading sensor data.
    Copyright (c) 1998, 1999  Frodo Looijaard <frodol@dds.nl>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

/* This files contains, for each type of chip, the kind of values you can
   read and write. The actual value of each define is completely arbitrary,
   as long as, for one specific chip, each defined value is unique. I tried
   to give similar features similar values, but you can't trust that.
   Some entries are very alike (for example the LM78, LM78-J and LM79
   defines). Where documented, you can mix the defines. If chip prefixes
   are different, they get their own entry. */

/* If you add a chip here, do not forget to add the entry in chips.c too.
   Other than that (and a recompile, and a bump up of the library number
   for shared libs) nothing should need to be done to support new chips. */


/* LM78 chips */

#ifndef LIB_SENSORS_CHIPS_H
#define LIB_SENSORS_CHIPS_H

#define SENSORS_LM78_PREFIX "lm78"

#define SENSORS_LM78_IN0 1 /* R */
#define SENSORS_LM78_IN1 2 /* R */
#define SENSORS_LM78_IN2 3 /* R */
#define SENSORS_LM78_IN3 4 /* R */
#define SENSORS_LM78_IN4 5 /* R */
#define SENSORS_LM78_IN5 6 /* R */
#define SENSORS_LM78_IN6 7 /* R */
#define SENSORS_LM78_IN0_MIN 11 /* RW */
#define SENSORS_LM78_IN1_MIN 12 /* RW */
#define SENSORS_LM78_IN2_MIN 13 /* RW */
#define SENSORS_LM78_IN3_MIN 14 /* RW */
#define SENSORS_LM78_IN4_MIN 15 /* RW */
#define SENSORS_LM78_IN5_MIN 16 /* RW */
#define SENSORS_LM78_IN6_MIN 17 /* RW */
#define SENSORS_LM78_IN0_MAX 21 /* RW */
#define SENSORS_LM78_IN1_MAX 22 /* RW */
#define SENSORS_LM78_IN2_MAX 23 /* RW */
#define SENSORS_LM78_IN3_MAX 24 /* RW */
#define SENSORS_LM78_IN4_MAX 25 /* RW */
#define SENSORS_LM78_IN5_MAX 26 /* RW */
#define SENSORS_LM78_IN6_MAX 27 /* RW */
#define SENSORS_LM78_FAN1 31 /* R */
#define SENSORS_LM78_FAN2 32 /* R */
#define SENSORS_LM78_FAN3 33 /* R */
#define SENSORS_LM78_FAN1_MIN 41 /* RW */
#define SENSORS_LM78_FAN2_MIN 42 /* RW */
#define SENSORS_LM78_FAN3_MIN 43 /* RW */
#define SENSORS_LM78_TEMP 51 /* R */
#define SENSORS_LM78_TEMP_HYST 52 /* RW */
#define SENSORS_LM78_TEMP_OVER 53 /* RW */
#define SENSORS_LM78_VID 61 /* R */
#define SENSORS_LM78_FAN1_DIV 71 /* RW */
#define SENSORS_LM78_FAN2_DIV 72 /* RW */
#define SENSORS_LM78_FAN3_DIV 73 /* R (yes, really! */
#define SENSORS_LM78_ALARMS 81 /* R */


/* LM78-J chips. It is actually safe to use the LM78 defines instead, but it
   is better practice to use these. */

#define SENSORS_LM78J_PREFIX "lm78-j"

#define SENSORS_LM78J_IN0 1 /* R */
#define SENSORS_LM78J_IN1 2 /* R */
#define SENSORS_LM78J_IN2 3 /* R */
#define SENSORS_LM78J_IN3 4 /* R */
#define SENSORS_LM78J_IN4 5 /* R */
#define SENSORS_LM78J_IN5 6 /* R */
#define SENSORS_LM78J_IN6 7 /* R */
#define SENSORS_LM78J_IN0_MIN 11 /* RW */
#define SENSORS_LM78J_IN1_MIN 12 /* RW */
#define SENSORS_LM78J_IN2_MIN 13 /* RW */
#define SENSORS_LM78J_IN3_MIN 14 /* RW */
#define SENSORS_LM78J_IN4_MIN 15 /* RW */
#define SENSORS_LM78J_IN5_MIN 16 /* RW */
#define SENSORS_LM78J_IN6_MIN 17 /* RW */
#define SENSORS_LM78J_IN0_MAX 21 /* RW */
#define SENSORS_LM78J_IN1_MAX 22 /* RW */
#define SENSORS_LM78J_IN2_MAX 23 /* RW */
#define SENSORS_LM78J_IN3_MAX 24 /* RW */
#define SENSORS_LM78J_IN4_MAX 25 /* RW */
#define SENSORS_LM78J_IN5_MAX 26 /* RW */
#define SENSORS_LM78J_IN6_MAX 27 /* RW */
#define SENSORS_LM78J_FAN1 31 /* R */
#define SENSORS_LM78J_FAN2 32 /* R */
#define SENSORS_LM78J_FAN3 33  /* R */
#define SENSORS_LM78J_FAN1_MIN 41 /* RW */
#define SENSORS_LM78J_FAN2_MIN 42 /* RW */
#define SENSORS_LM78J_FAN3_MIN 43 /* RW */
#define SENSORS_LM78J_TEMP 51 /* R */
#define SENSORS_LM78J_TEMP_HYST 52 /* RW */
#define SENSORS_LM78J_TEMP_OVER 53 /* RW */
#define SENSORS_LM78J_VID 61 /* R */
#define SENSORS_LM78J_FAN1_DIV 71 /* RW */
#define SENSORS_LM78J_FAN2_DIV 72 /* RW */
#define SENSORS_LM78J_FAN3_DIV 73 /* R (yes, really!) */
#define SENSORS_LM78J_ALARMS 81 /* R */


/* LM79 chips. It is actually safe to use the LM78 defines instead, but it
   is better practice to use these. */

#define SENSORS_LM79_PREFIX "lm79"

#define SENSORS_LM79_IN0 1 /* R */
#define SENSORS_LM79_IN1 2 /* R */
#define SENSORS_LM79_IN2 3 /* R */
#define SENSORS_LM79_IN3 4 /* R */
#define SENSORS_LM79_IN4 5 /* R */
#define SENSORS_LM79_IN5 6 /* R */
#define SENSORS_LM79_IN6 7 /* R */
#define SENSORS_LM79_IN0_MIN 11 /* RW */
#define SENSORS_LM79_IN1_MIN 12 /* RW */
#define SENSORS_LM79_IN2_MIN 13 /* RW */
#define SENSORS_LM79_IN3_MIN 14 /* RW */
#define SENSORS_LM79_IN4_MIN 15 /* RW */
#define SENSORS_LM79_IN5_MIN 16 /* RW */
#define SENSORS_LM79_IN6_MIN 17 /* RW */
#define SENSORS_LM79_IN0_MAX 21 /* RW */
#define SENSORS_LM79_IN1_MAX 22 /* RW */
#define SENSORS_LM79_IN2_MAX 23 /* RW */
#define SENSORS_LM79_IN3_MAX 24 /* RW */
#define SENSORS_LM79_IN4_MAX 25 /* R */
#define SENSORS_LM79_IN5_MAX 26 /* R */
#define SENSORS_LM79_IN6_MAX 27 /* R */
#define SENSORS_LM79_FAN1 31 /* R */
#define SENSORS_LM79_FAN2 32 /* R */
#define SENSORS_LM79_FAN3 33 /* R */
#define SENSORS_LM79_FAN1_MIN 41 /* RW */
#define SENSORS_LM79_FAN2_MIN 42 /* RW */
#define SENSORS_LM79_FAN3_MIN 43 /* RW */
#define SENSORS_LM79_TEMP 51 /* R */
#define SENSORS_LM79_TEMP_HYST 52 /* RW */
#define SENSORS_LM79_TEMP_OVER 53 /* RW */
#define SENSORS_LM79_VID 61 /* R */
#define SENSORS_LM79_FAN1_DIV 71 /* RW */
#define SENSORS_LM79_FAN2_DIV 72 /* RW */
#define SENSORS_LM79_FAN3_DIV 73 /* R (yes, really! */
#define SENSORS_LM79_ALARMS 81 /* R */


/* LM75 chips. */

#define SENSORS_LM75_PREFIX "lm75"

#define SENSORS_LM75_TEMP 51 /* R */
#define SENSORS_LM75_TEMP_HYST 52 /* RW */
#define SENSORS_LM75_TEMP_OVER 53 /* RW */

/* ADM1021 chips. */

#define SENSORS_ADM1021_PREFIX "adm1021"
/* Cheat on LM84,GL523,THMC10,1023 for now - no separate #defines */
#define SENSORS_ADM1023_PREFIX "adm1023"
#define SENSORS_LM84_PREFIX "lm84"
#define SENSORS_GL523_PREFIX "gl523"
#define SENSORS_THMC10_PREFIX "thmc10"

#define SENSORS_ADM1021_TEMP 51 /* R */
#define SENSORS_ADM1021_TEMP_HYST 52 /* RW */
#define SENSORS_ADM1021_TEMP_OVER 53 /* RW */
#define SENSORS_ADM1021_REMOTE_TEMP 54 /* R */
#define SENSORS_ADM1021_REMOTE_TEMP_HYST 55 /* RW */
#define SENSORS_ADM1021_REMOTE_TEMP_OVER 56 /* RW */
#define SENSORS_ADM1021_ALARMS 81 /* R */
#define SENSORS_ADM1021_DIE_CODE 90 /* R */


/* ADM1030 and ADM1031 chips */

#define SENSORS_ADM1030_PREFIX "adm1030"
#define SENSORS_ADM1031_PREFIX "adm1031"

#define SENSORS_ADM1031_TEMP1      51 /* R */
#define SENSORS_ADM1031_TEMP1_MIN  52 /* RW */
#define SENSORS_ADM1031_TEMP1_MAX  53 /* RW */
#define SENSORS_ADM1031_TEMP1_CRIT 54 /* RW */

#define SENSORS_ADM1031_TEMP2      61 /* R */
#define SENSORS_ADM1031_TEMP2_MIN  62 /* RW */
#define SENSORS_ADM1031_TEMP2_MAX  63 /* RW */
#define SENSORS_ADM1031_TEMP2_CRIT 64 /* RW */

#define SENSORS_ADM1031_TEMP3      71 /* R */
#define SENSORS_ADM1031_TEMP3_MIN  72 /* RW */
#define SENSORS_ADM1031_TEMP3_MAX  73 /* RW */
#define SENSORS_ADM1031_TEMP3_CRIT 74 /* RW */


#define SENSORS_ADM1031_FAN1       80 /* R */
#define SENSORS_ADM1031_FAN1_MIN   81 /* RW */
#define SENSORS_ADM1031_FAN1_DIV   82 /* RW */
#define SENSORS_ADM1031_FAN2       90 /* R */
#define SENSORS_ADM1031_FAN2_MIN   91 /* RW */
#define SENSORS_ADM1031_FAN2_DIV   92 /* RW */

#define SENSORS_ADM1031_ALARMS    100 /* R */


/* MAX1617 chips. */

#define SENSORS_MAX1617_PREFIX "max1617"
#define SENSORS_MC1066_PREFIX "mc1066"

#define SENSORS_MAX1617_TEMP 51 /* R */
#define SENSORS_MAX1617_TEMP_HYST 52 /* RW */
#define SENSORS_MAX1617_TEMP_OVER 53 /* RW */
#define SENSORS_MAX1617_REMOTE_TEMP 54 /* R */
#define SENSORS_MAX1617_REMOTE_TEMP_HYST 55 /* RW */
#define SENSORS_MAX1617_REMOTE_TEMP_OVER 56 /* RW */
#define SENSORS_MAX1617_ALARMS 81 /* R */

/* MAX1617A chips. */

#define SENSORS_MAX1617A_PREFIX "max1617a"

#define SENSORS_MAX1617A_TEMP 51 /* R */
#define SENSORS_MAX1617A_TEMP_HYST 52 /* RW */
#define SENSORS_MAX1617A_TEMP_OVER 53 /* RW */
#define SENSORS_MAX1617A_REMOTE_TEMP 54 /* R */
#define SENSORS_MAX1617A_REMOTE_TEMP_HYST 55 /* RW */
#define SENSORS_MAX1617A_REMOTE_TEMP_OVER 56 /* RW */
#define SENSORS_MAX1617A_ALARMS 81 /* R */

/* GL518SM chips */

#define SENSORS_GL518_PREFIX "gl518sm"

#define SENSORS_GL518_VDD 1 /* R */
#define SENSORS_GL518_VIN1 2 /* R */
#define SENSORS_GL518_VIN2 3 /* R */
#define SENSORS_GL518_VIN3 4 /* R */
#define SENSORS_GL518_VDD_MIN 11 /* RW */
#define SENSORS_GL518_VIN1_MIN 12 /* RW */
#define SENSORS_GL518_VIN2_MIN 13 /* RW */
#define SENSORS_GL518_VIN3_MIN 14 /* RW */
#define SENSORS_GL518_VDD_MAX 21 /* RW */
#define SENSORS_GL518_VIN1_MAX 22 /* RW */
#define SENSORS_GL518_VIN2_MAX 23 /* RW */
#define SENSORS_GL518_VIN3_MAX 24 /* RW */
#define SENSORS_GL518_FAN1 31 /* R */
#define SENSORS_GL518_FAN2 32 /* R */
#define SENSORS_GL518_FAN1_MIN 41 /* RW */
#define SENSORS_GL518_FAN2_MIN 42 /* RW */
#define SENSORS_GL518_TEMP 51 /* R */
#define SENSORS_GL518_TEMP_HYST 52 /* RW */
#define SENSORS_GL518_TEMP_OVER 53 /* RW */
#define SENSORS_GL518_FAN1_DIV 71 /* RW */
#define SENSORS_GL518_FAN2_DIV 72 /* RW */
#define SENSORS_GL518_ALARMS 81 /* R */
#define SENSORS_GL518_BEEP_ENABLE 82 /* RW */
#define SENSORS_GL518_BEEPS 83 /* RW */
#define SENSORS_GL518_ITERATE 84 /* RW */
#define SENSORS_GL518_FAN1OFF 85 /* RW */
#define SENSORS_GL518_FAN1PIN 86 /* RW */

/* GL520SM chips */

#define SENSORS_GL520_PREFIX "gl520sm"

#define SENSORS_GL520_VDD 1 /* R */
#define SENSORS_GL520_VIN1 2 /* R */
#define SENSORS_GL520_VIN2 3 /* R */
#define SENSORS_GL520_VIN3 4 /* R */
#define SENSORS_GL520_VIN4 5 /* R */
#define SENSORS_GL520_VDD_MIN 11 /* RW */
#define SENSORS_GL520_VIN1_MIN 12 /* RW */
#define SENSORS_GL520_VIN2_MIN 13 /* RW */
#define SENSORS_GL520_VIN3_MIN 14 /* RW */
#define SENSORS_GL520_VIN4_MIN 15 /* RW */
#define SENSORS_GL520_VDD_MAX 21 /* RW */
#define SENSORS_GL520_VIN1_MAX 22 /* RW */
#define SENSORS_GL520_VIN2_MAX 23 /* RW */
#define SENSORS_GL520_VIN3_MAX 24 /* RW */
#define SENSORS_GL520_VIN4_MAX 25 /* RW */
#define SENSORS_GL520_FAN1 31 /* R */
#define SENSORS_GL520_FAN2 32 /* R */
#define SENSORS_GL520_FAN1_MIN 41 /* RW */
#define SENSORS_GL520_FAN2_MIN 42 /* RW */
#define SENSORS_GL520_TEMP1 51 /* R */
#define SENSORS_GL520_TEMP1_HYST 52 /* RW */
#define SENSORS_GL520_TEMP1_OVER 53 /* RW */
#define SENSORS_GL520_TEMP2 54 /* R */
#define SENSORS_GL520_TEMP2_HYST 55 /* RW */
#define SENSORS_GL520_TEMP2_OVER 56 /* RW */
#define SENSORS_GL520_VID 61 /* R */
#define SENSORS_GL520_FAN1_DIV 71 /* RW */
#define SENSORS_GL520_FAN2_DIV 72 /* RW */
#define SENSORS_GL520_ALARMS 81 /* R */
#define SENSORS_GL520_BEEP_ENABLE 82 /* RW */
#define SENSORS_GL520_BEEPS 83 /* RW */
#define SENSORS_GL520_TWOTEMPS 84 /* RW */
#define SENSORS_GL520_FAN1OFF 85 /* RW */

/* LM80 chips */

#define SENSORS_LM80_PREFIX "lm80"

#define SENSORS_LM80_IN0 1 /* R */
#define SENSORS_LM80_IN1 2 /* R */
#define SENSORS_LM80_IN2 3 /* R */
#define SENSORS_LM80_IN3 4 /* R */
#define SENSORS_LM80_IN4 5 /* R */
#define SENSORS_LM80_IN5 6 /* R */
#define SENSORS_LM80_IN6 7 /* R */
#define SENSORS_LM80_IN0_MIN 11 /* RW */
#define SENSORS_LM80_IN1_MIN 12 /* RW */
#define SENSORS_LM80_IN2_MIN 13 /* RW */
#define SENSORS_LM80_IN3_MIN 14 /* RW */
#define SENSORS_LM80_IN4_MIN 15 /* RW */
#define SENSORS_LM80_IN5_MIN 16 /* RW */
#define SENSORS_LM80_IN6_MIN 17 /* RW */
#define SENSORS_LM80_IN0_MAX 21 /* RW */
#define SENSORS_LM80_IN1_MAX 22 /* RW */
#define SENSORS_LM80_IN2_MAX 23 /* RW */
#define SENSORS_LM80_IN3_MAX 24 /* RW */
#define SENSORS_LM80_IN4_MAX 25 /* R */
#define SENSORS_LM80_IN5_MAX 26 /* R */
#define SENSORS_LM80_IN6_MAX 27 /* R */
#define SENSORS_LM80_FAN1 31 /* R */
#define SENSORS_LM80_FAN2 32 /* R */
#define SENSORS_LM80_FAN1_MIN 41 /* RW */
#define SENSORS_LM80_FAN2_MIN 42 /* RW */
#define SENSORS_LM80_TEMP 51 /* R */
#define SENSORS_LM80_TEMP_HOT_HYST 52 /* RW */
#define SENSORS_LM80_TEMP_HOT_MAX 53 /* RW */
#define SENSORS_LM80_TEMP_OS_HYST 54 /* RW */
#define SENSORS_LM80_TEMP_OS_MAX 55 /* RW */
#define SENSORS_LM80_FAN1_DIV 71 /* RW */
#define SENSORS_LM80_FAN2_DIV 72 /* RW */
#define SENSORS_LM80_ALARMS 81 /* R */

/* LM83 chips */

#define SENSORS_LM83_PREFIX "lm83"

#define SENSORS_LM83_LOCAL_TEMP 51 /* R */
#define SENSORS_LM83_LOCAL_HIGH 52 /* RW */
#define SENSORS_LM83_REMOTE1_TEMP 54 /* R */
#define SENSORS_LM83_REMOTE1_HIGH 55 /* RW */
#define SENSORS_LM83_REMOTE2_TEMP 57 /* R */
#define SENSORS_LM83_REMOTE2_HIGH 58 /* RW */
#define SENSORS_LM83_REMOTE3_TEMP 60 /* R */
#define SENSORS_LM83_REMOTE3_HIGH 61 /* RW */
#define SENSORS_LM83_TCRIT 80 /* RW */
#define SENSORS_LM83_ALARMS 81 /* R */

/* LM85 chips */

#define SENSORS_LM85_PREFIX "lm85"
#define SENSORS_LM85B_PREFIX "lm85b"
#define SENSORS_LM85C_PREFIX "lm85c"
#define SENSORS_ADM1027_PREFIX "adm1027"
#define SENSORS_ADT7463_PREFIX "adt7463"
#define SENSORS_EMC6D100_PREFIX "emc6d100"
#define SENSORS_EMC6D102_PREFIX "emc6d102"

#define SENSORS_ADM1027_ALARM_MASK           1  /* RW -- alarm_mask  */
#define SENSORS_ADM1027_FAN1_PPR             2  /* RW -- fan1_ppr  */
#define SENSORS_ADM1027_FAN1_TACH_MODE       3  /* RW -- fan1_tach_mode  */
#define SENSORS_ADM1027_FAN2_PPR             4  /* RW -- fan2_ppr  */
#define SENSORS_ADM1027_FAN2_TACH_MODE       5  /* RW -- fan2_tach_mode  */
#define SENSORS_ADM1027_FAN3_PPR             6  /* RW -- fan3_ppr  */
#define SENSORS_ADM1027_FAN3_TACH_MODE       7  /* RW -- fan3_tach_mode  */
#define SENSORS_ADM1027_FAN4_PPR             8  /* RW -- fan4_ppr  */
#define SENSORS_ADM1027_FAN4_TACH_MODE       9  /* RW -- fan4_tach_mode  */
#define SENSORS_ADM1027_PWM1_SMOOTH         10  /* RW -- pwm1_smooth  */
#define SENSORS_ADM1027_PWM2_SMOOTH         11  /* RW -- pwm2_smooth  */
#define SENSORS_ADM1027_PWM3_SMOOTH         12  /* RW -- pwm3_smooth  */
#define SENSORS_ADM1027_TEMP1_OFFSET        13  /* RW -- temp1_offset  */
#define SENSORS_ADM1027_TEMP2_OFFSET        14  /* RW -- temp2_offset  */
#define SENSORS_ADM1027_TEMP3_OFFSET        15  /* RW -- temp3_offset  */
#define SENSORS_LM85_ALARMS                 16  /* R  -- alarms  */
#define SENSORS_LM85_VID                    17  /* R  -- vid  */
#define SENSORS_LM85_VRM                    18  /* RW -- vrm  */
#define SENSORS_LM85_FAN1                   19  /* R  -- fan1  */
#define SENSORS_LM85_FAN1_MIN               20  /* RW -- fan1_min  */
#define SENSORS_LM85_FAN1_TACH_MODE         21  /* RW -- fan1_tach_mode  */
#define SENSORS_LM85_FAN2                   22  /* R  -- fan2  */
#define SENSORS_LM85_FAN2_MIN               23  /* RW -- fan2_min  */
#define SENSORS_LM85_FAN2_TACH_MODE         24  /* RW -- fan2_tach_mode  */
#define SENSORS_LM85_FAN3                   25  /* R  -- fan3  */
#define SENSORS_LM85_FAN3_MIN               26  /* RW -- fan3_min  */
#define SENSORS_LM85_FAN3_TACH_MODE         27  /* RW -- fan3_tach_mode  */
#define SENSORS_LM85_FAN4                   28  /* R  -- fan4  */
#define SENSORS_LM85_FAN4_MIN               29  /* RW -- fan4_min  */
#define SENSORS_LM85_IN0                    30  /* R  -- in0  */
#define SENSORS_LM85_IN0_MAX                31  /* RW -- in0_max  */
#define SENSORS_LM85_IN0_MIN                32  /* RW -- in0_min  */
#define SENSORS_LM85_IN1                    33  /* R  -- in1  */
#define SENSORS_LM85_IN1_MAX                34  /* RW -- in1_max  */
#define SENSORS_LM85_IN1_MIN                35  /* RW -- in1_min  */
#define SENSORS_LM85_IN2                    36  /* R  -- in2  */
#define SENSORS_LM85_IN2_MAX                37  /* RW -- in2_max  */
#define SENSORS_LM85_IN2_MIN                38  /* RW -- in2_min  */
#define SENSORS_LM85_IN3                    39  /* R  -- in3  */
#define SENSORS_LM85_IN3_MAX                40  /* RW -- in3_max  */
#define SENSORS_LM85_IN3_MIN                41  /* RW -- in3_min  */
#define SENSORS_LM85_IN4                    42  /* R  -- in4  */
#define SENSORS_LM85_IN4_MAX                43  /* RW -- in4_max  */
#define SENSORS_LM85_IN4_MIN                44  /* RW -- in4_min  */
#define SENSORS_LM85_IN5                    45  /* R  -- in5  */
#define SENSORS_LM85_IN5_MAX                46  /* RW -- in5_max  */
#define SENSORS_LM85_IN5_MIN                47  /* RW -- in5_min  */
#define SENSORS_LM85_IN6                    48  /* R  -- in6  */
#define SENSORS_LM85_IN6_MAX                49  /* RW -- in6_max  */
#define SENSORS_LM85_IN6_MIN                50  /* RW -- in6_min  */
#define SENSORS_LM85_IN7                    51  /* R  -- in7  */
#define SENSORS_LM85_IN7_MAX                52  /* RW -- in7_max  */
#define SENSORS_LM85_IN7_MIN                53  /* RW -- in7_min  */
#define SENSORS_LM85_PWM1                   54  /* RW -- pwm1  */
#define SENSORS_LM85_PWM1_FREQ              55  /* RW -- pwm1_freq  */
#define SENSORS_LM85_PWM1_INVERT            56  /* RW -- pwm1_invert  */
#define SENSORS_LM85_PWM1_MIN               57  /* RW -- pwm1_min  */
#define SENSORS_LM85_PWM1_MIN_CTL           58  /* RW -- pwm1_min_ctl  */
#define SENSORS_LM85_PWM1_SPINUP            59  /* RW -- pwm1_spinup  */
#define SENSORS_LM85_PWM1_SPINUP_CTL        60  /* RW -- pwm1_spinup_ctl  */
#define SENSORS_LM85_PWM1_ZONE              61  /* RW -- pwm1_zone  */
#define SENSORS_LM85_PWM2                   62  /* RW -- pwm2  */
#define SENSORS_LM85_PWM2_FREQ              63  /* RW -- pwm2_freq  */
#define SENSORS_LM85_PWM2_INVERT            64  /* RW -- pwm2_invert  */
#define SENSORS_LM85_PWM2_MIN               65  /* RW -- pwm2_min  */
#define SENSORS_LM85_PWM2_MIN_CTL           66  /* RW -- pwm2_min_ctl  */
#define SENSORS_LM85_PWM2_SPINUP            67  /* RW -- pwm2_spinup  */
#define SENSORS_LM85_PWM2_SPINUP_CTL        68  /* RW -- pwm2_spinup_ctl  */
#define SENSORS_LM85_PWM2_ZONE              69  /* RW -- pwm2_zone  */
#define SENSORS_LM85_PWM3                   70  /* RW -- pwm3  */
#define SENSORS_LM85_PWM3_FREQ              71  /* RW -- pwm3_freq  */
#define SENSORS_LM85_PWM3_INVERT            72  /* RW -- pwm3_invert  */
#define SENSORS_LM85_PWM3_MIN               73  /* RW -- pwm3_min  */
#define SENSORS_LM85_PWM3_MIN_CTL           74  /* RW -- pwm3_min_ctl  */
#define SENSORS_LM85_PWM3_SPINUP            75  /* RW -- pwm3_spinup  */
#define SENSORS_LM85_PWM3_SPINUP_CTL        76  /* RW -- pwm3_spinup_ctl  */
#define SENSORS_LM85_PWM3_ZONE              77  /* RW -- pwm3_zone  */
#define SENSORS_LM85_TEMP1                  78  /* R  -- temp1  */
#define SENSORS_LM85_TEMP1_MAX              79  /* RW -- temp1_max  */
#define SENSORS_LM85_TEMP1_MIN              80  /* RW -- temp1_min  */
#define SENSORS_LM85_TEMP2                  81  /* R  -- temp2  */
#define SENSORS_LM85_TEMP2_MAX              82  /* RW -- temp2_max  */
#define SENSORS_LM85_TEMP2_MIN              83  /* RW -- temp2_min  */
#define SENSORS_LM85_TEMP3                  84  /* R  -- temp3  */
#define SENSORS_LM85_TEMP3_MAX              85  /* RW -- temp3_max  */
#define SENSORS_LM85_TEMP3_MIN              86  /* RW -- temp3_min  */
#define SENSORS_LM85_ZONE1_CRITICAL         87  /* RW -- zone1_critical  */
#define SENSORS_LM85_ZONE1_HYST             88  /* RW -- zone1_hyst  */
#define SENSORS_LM85_ZONE1_LIMIT            89  /* RW -- zone1_limit  */
#define SENSORS_LM85_ZONE1_RANGE            90  /* RW -- zone1_range  */
#define SENSORS_LM85_ZONE1_SMOOTH           91  /* RW -- zone1_smooth  */
#define SENSORS_LM85_ZONE2_CRITICAL         92  /* RW -- zone2_critical  */
#define SENSORS_LM85_ZONE2_HYST             93  /* RW -- zone2_hyst  */
#define SENSORS_LM85_ZONE2_LIMIT            94  /* RW -- zone2_limit  */
#define SENSORS_LM85_ZONE2_RANGE            95  /* RW -- zone2_range  */
#define SENSORS_LM85_ZONE2_SMOOTH           96  /* RW -- zone2_smooth  */
#define SENSORS_LM85_ZONE3_CRITICAL         97  /* RW -- zone3_critical  */
#define SENSORS_LM85_ZONE3_HYST             98  /* RW -- zone3_hyst  */
#define SENSORS_LM85_ZONE3_LIMIT            99  /* RW -- zone3_limit  */
#define SENSORS_LM85_ZONE3_RANGE           100  /* RW -- zone3_range  */
#define SENSORS_LM85_ZONE3_SMOOTH          101  /* RW -- zone3_smooth  */

/* LM86/LM89/LM90/LM99/ADM1032/MAX6657/ADT7461 chips */

#define SENSORS_LM90_PREFIX "lm90"
#define SENSORS_ADM1032_PREFIX "adm1032"
#define SENSORS_LM99_PREFIX "lm99"
#define SENSORS_LM86_PREFIX "lm86"
#define SENSORS_MAX6657_PREFIX "max6657"
#define SENSORS_ADT7461_PREFIX "adt7461"

#define SENSORS_LM90_LOCAL_TEMP 51 /* R */
#define SENSORS_LM90_LOCAL_HIGH 52 /* RW */
#define SENSORS_LM90_LOCAL_LOW 53 /* RW */
#define SENSORS_LM90_LOCAL_TCRIT 54 /* RW */
#define SENSORS_LM90_REMOTE_TEMP 57 /* R */
#define SENSORS_LM90_REMOTE_HIGH 58 /* RW */
#define SENSORS_LM90_REMOTE_LOW 59 /* RW */
#define SENSORS_LM90_REMOTE_TCRIT 60 /* RW */
#define SENSORS_LM90_LOCAL_TCRIT_HYST 79 /* RW */
#define SENSORS_LM90_REMOTE_TCRIT_HYST 80 /* R, see driver source */
#define SENSORS_LM90_ALARMS 81 /* R */

/* LM63 chips */

#define SENSORS_LM63_PREFIX "lm63"

#define SENSORS_LM63_LOCAL_TEMP			51 /* R  */
#define SENSORS_LM63_LOCAL_HIGH			52 /* RW */
#define SENSORS_LM63_REMOTE_TEMP		57 /* R  */
#define SENSORS_LM63_REMOTE_HIGH		58 /* RW */
#define SENSORS_LM63_REMOTE_LOW			59 /* RW */
#define SENSORS_LM63_REMOTE_TCRIT		60 /* R  */
#define SENSORS_LM63_REMOTE_TCRIT_HYST		80 /* RW */
#define SENSORS_LM63_ALARMS			81 /* R  */
#define SENSORS_LM63_FAN			84 /* R  */
#define SENSORS_LM63_FAN_LOW			85 /* RW */
#define SENSORS_LM63_PWM			87 /* RW */
#define SENSORS_LM63_PWM_ENABLE			88 /* RW */

/* Winbond W83781D chips */

#define SENSORS_W83781D_PREFIX "w83781d"

#define SENSORS_W83781D_IN0 1 /* R */
#define SENSORS_W83781D_IN1 2 /* R */
#define SENSORS_W83781D_IN2 3 /* R */
#define SENSORS_W83781D_IN3 4 /* R */
#define SENSORS_W83781D_IN4 5 /* R */
#define SENSORS_W83781D_IN5 6 /* R */
#define SENSORS_W83781D_IN6 7 /* R */
#define SENSORS_W83781D_IN0_MIN 11 /* RW */
#define SENSORS_W83781D_IN1_MIN 12 /* RW */
#define SENSORS_W83781D_IN2_MIN 13 /* RW */
#define SENSORS_W83781D_IN3_MIN 14 /* RW */
#define SENSORS_W83781D_IN4_MIN 15 /* RW */
#define SENSORS_W83781D_IN5_MIN 16 /* RW */
#define SENSORS_W83781D_IN6_MIN 17 /* RW */
#define SENSORS_W83781D_IN0_MAX 21 /* RW */
#define SENSORS_W83781D_IN1_MAX 22 /* RW */
#define SENSORS_W83781D_IN2_MAX 23 /* RW */
#define SENSORS_W83781D_IN3_MAX 24 /* RW */
#define SENSORS_W83781D_IN4_MAX 25 /* RW */
#define SENSORS_W83781D_IN5_MAX 26 /* RW */
#define SENSORS_W83781D_IN6_MAX 27 /* RW */
#define SENSORS_W83781D_FAN1 31 /* R */
#define SENSORS_W83781D_FAN2 32 /* R */
#define SENSORS_W83781D_FAN3 33 /* R */
#define SENSORS_W83781D_FAN1_MIN 41 /* RW */
#define SENSORS_W83781D_FAN2_MIN 42 /* RW */
#define SENSORS_W83781D_FAN3_MIN 43 /* RW */
#define SENSORS_W83781D_TEMP1 51 /* R */
#define SENSORS_W83781D_TEMP1_HYST 52 /* RW */
#define SENSORS_W83781D_TEMP1_OVER 53 /* RW */
#define SENSORS_W83781D_TEMP2 54 /* R */
#define SENSORS_W83781D_TEMP2_HYST 55 /* RW */
#define SENSORS_W83781D_TEMP2_OVER 56 /* RW */
#define SENSORS_W83781D_TEMP3 57 /* R */
#define SENSORS_W83781D_TEMP3_HYST 58 /* RW */
#define SENSORS_W83781D_TEMP3_OVER 59 /* RW */
#define SENSORS_W83781D_VID 61 /* R */
#define SENSORS_W83781D_VRM 62 /* RW */
#define SENSORS_W83781D_FAN1_DIV 71 /* RW */
#define SENSORS_W83781D_FAN2_DIV 72 /* RW */
#define SENSORS_W83781D_FAN3_DIV 73 /* R (yes, really! */
#define SENSORS_W83781D_ALARMS 81 /* R */
#define SENSORS_W83781D_BEEP_ENABLE 82 /* RW */
#define SENSORS_W83781D_BEEPS 83 /* RW */
#define SENSORS_W83781D_SENS1 91 /* RW */
#define SENSORS_W83781D_SENS2 92 /* RW */
#define SENSORS_W83781D_SENS3 93 /* RW */


/* Winbond W83782D chips */
/* Cheat on 627HF for now - no separate #defines */
/* Cheat on 127F for now - no separate #defines */

#define SENSORS_W83782D_PREFIX "w83782d"
#define SENSORS_W83627HF_PREFIX "w83627hf"
#define SENSORS_W83627THF_PREFIX "w83627thf"
#define SENSORS_W83637HF_PREFIX "w83637hf"
#define SENSORS_W83687THF_PREFIX "w83687thf"

#define SENSORS_W83791D_PREFIX "w83791d"


#define SENSORS_W83791D_IN0 1 /* R */
#define SENSORS_W83791D_IN1 2 /* R */
#define SENSORS_W83791D_IN2 3 /* R */
#define SENSORS_W83791D_IN3 4 /* R */
#define SENSORS_W83791D_IN4 5 /* R */
#define SENSORS_W83791D_IN5 6 /* R */
#define SENSORS_W83791D_IN6 7 /* R */
#define SENSORS_W83791D_IN7 8 /* R */
#define SENSORS_W83791D_IN8 9 /* R */
#define SENSORS_W83791D_IN9 10 /* R */

#define SENSORS_W83791D_IN0_MIN 11 /* RW */
#define SENSORS_W83791D_IN1_MIN 12 /* RW */
#define SENSORS_W83791D_IN2_MIN 13 /* RW */
#define SENSORS_W83791D_IN3_MIN 14 /* RW */
#define SENSORS_W83791D_IN4_MIN 15 /* RW */
#define SENSORS_W83791D_IN5_MIN 16 /* RW */
#define SENSORS_W83791D_IN6_MIN 17 /* RW */
#define SENSORS_W83791D_IN7_MIN 18 /* RW */
#define SENSORS_W83791D_IN8_MIN 19 /* RW */
#define SENSORS_W83791D_IN9_MIN 20 /* RW */

#define SENSORS_W83791D_IN0_MAX 21 /* RW */
#define SENSORS_W83791D_IN1_MAX 22 /* RW */
#define SENSORS_W83791D_IN2_MAX 23 /* RW */
#define SENSORS_W83791D_IN3_MAX 24 /* RW */
#define SENSORS_W83791D_IN4_MAX 25 /* RW */
#define SENSORS_W83791D_IN5_MAX 26 /* RW */
#define SENSORS_W83791D_IN6_MAX 27 /* RW */
#define SENSORS_W83791D_IN7_MAX 28 /* RW */
#define SENSORS_W83791D_IN8_MAX 29 /* RW */
#define SENSORS_W83791D_IN9_MAX 30 /* RW */

#define SENSORS_W83791D_FAN1 31 /* R */
#define SENSORS_W83791D_FAN2 32 /* R */
#define SENSORS_W83791D_FAN3 33 /* R */
#define SENSORS_W83791D_FAN4 34 /* R */
#define SENSORS_W83791D_FAN5 35 /* R */

#define SENSORS_W83791D_FAN1_MIN 41 /* RW */
#define SENSORS_W83791D_FAN2_MIN 42 /* RW */
#define SENSORS_W83791D_FAN3_MIN 43 /* RW */
#define SENSORS_W83791D_FAN4_MIN 44 /* RW */
#define SENSORS_W83791D_FAN5_MIN 45 /* RW */

#define SENSORS_W83791D_TEMP1 51 /* R */
#define SENSORS_W83791D_TEMP1_HYST 52 /* RW */
#define SENSORS_W83791D_TEMP1_OVER 53 /* RW */
#define SENSORS_W83791D_TEMP2 54 /* R */
#define SENSORS_W83791D_TEMP2_HYST 55 /* RW */
#define SENSORS_W83791D_TEMP2_OVER 56 /* RW */
#define SENSORS_W83791D_TEMP3 57 /* R */
#define SENSORS_W83791D_TEMP3_HYST 58 /* RW */
#define SENSORS_W83791D_TEMP3_OVER 59 /* RW */
#define SENSORS_W83791D_VID 61 /* R */
#define SENSORS_W83791D_VRM 62 /* RW */

#define SENSORS_W83791D_FAN1_DIV 71 /* RW */
#define SENSORS_W83791D_FAN2_DIV 72 /* RW */
#define SENSORS_W83791D_FAN3_DIV 73 /* R (yes, really! */
#define SENSORS_W83791D_FAN4_DIV 74 /* R (yes, really! */
#define SENSORS_W83791D_FAN5_DIV 75 /* R (yes, really! */

#define SENSORS_W83791D_ALARMS 81 /* R */
#define SENSORS_W83791D_BEEP_ENABLE 82 /* RW */
#define SENSORS_W83791D_BEEPS 83 /* RW */
#define SENSORS_W83791D_SENS1 91 /* RW */
#define SENSORS_W83791D_SENS2 92 /* RW */
#define SENSORS_W83791D_SENS3 93 /* RW */



/* Winbond W83792AD/D chip */
#define SENSORS_W83792D_PREFIX "w83792d"


#define SENSORS_W83792D_IN0 1 /* R */
#define SENSORS_W83792D_IN1 2 /* R */
#define SENSORS_W83792D_IN2 3 /* R */
#define SENSORS_W83792D_IN3 4 /* R */
#define SENSORS_W83792D_IN4 5 /* R */
#define SENSORS_W83792D_IN5 6 /* R */
#define SENSORS_W83792D_IN6 7 /* R */
#define SENSORS_W83792D_IN7 8 /* R */
#define SENSORS_W83792D_IN8 9 /* R */
#define SENSORS_W83792D_IN9 10 /* R */

#define SENSORS_W83792D_IN0_MIN 11 /* RW */
#define SENSORS_W83792D_IN1_MIN 12 /* RW */
#define SENSORS_W83792D_IN2_MIN 13 /* RW */
#define SENSORS_W83792D_IN3_MIN 14 /* RW */
#define SENSORS_W83792D_IN4_MIN 15 /* RW */
#define SENSORS_W83792D_IN5_MIN 16 /* RW */
#define SENSORS_W83792D_IN6_MIN 17 /* RW */
#define SENSORS_W83792D_IN7_MIN 18 /* RW */
#define SENSORS_W83792D_IN8_MIN 19 /* RW */
#define SENSORS_W83792D_IN9_MIN 20 /* RW */

#define SENSORS_W83792D_IN0_MAX 21 /* RW */
#define SENSORS_W83792D_IN1_MAX 22 /* RW */
#define SENSORS_W83792D_IN2_MAX 23 /* RW */
#define SENSORS_W83792D_IN3_MAX 24 /* RW */
#define SENSORS_W83792D_IN4_MAX 25 /* RW */
#define SENSORS_W83792D_IN5_MAX 26 /* RW */
#define SENSORS_W83792D_IN6_MAX 27 /* RW */
#define SENSORS_W83792D_IN7_MAX 28 /* RW */
#define SENSORS_W83792D_IN8_MAX 29 /* RW */
#define SENSORS_W83792D_IN9_MAX 30 /* RW */

#define SENSORS_W83792D_FAN1 31 /* R */
#define SENSORS_W83792D_FAN2 32 /* R */
#define SENSORS_W83792D_FAN3 33 /* R */
#define SENSORS_W83792D_FAN4 34 /* R */
#define SENSORS_W83792D_FAN5 35 /* R */
#define SENSORS_W83792D_FAN6 36 /* R */
#define SENSORS_W83792D_FAN7 37 /* R */

#define SENSORS_W83792D_FAN1_MIN 41 /* RW */
#define SENSORS_W83792D_FAN2_MIN 42 /* RW */
#define SENSORS_W83792D_FAN3_MIN 43 /* RW */
#define SENSORS_W83792D_FAN4_MIN 44 /* RW */
#define SENSORS_W83792D_FAN5_MIN 45 /* RW */
#define SENSORS_W83792D_FAN6_MIN 46 /* RW */
#define SENSORS_W83792D_FAN7_MIN 47 /* RW */

#define SENSORS_W83792D_TEMP1 51      /* R */
#define SENSORS_W83792D_TEMP1_HYST 52 /* RW */
#define SENSORS_W83792D_TEMP1_OVER 53 /* RW */
#define SENSORS_W83792D_TEMP2 54      /* R */
#define SENSORS_W83792D_TEMP2_HYST 55 /* RW */
#define SENSORS_W83792D_TEMP2_OVER 56 /* RW */
#define SENSORS_W83792D_TEMP3 57      /* R */
#define SENSORS_W83792D_TEMP3_HYST 58 /* RW */
#define SENSORS_W83792D_TEMP3_OVER 59 /* RW */
/*#define SENSORS_W83792D_VID 61 */   /* R */
/*#define SENSORS_W83792D_VRM 62 */   /* RW */
#define SENSORS_W83792D_CHASSIS 63    /* R */
#define SENSORS_W83792D_ALARMS 64     /* R */

#define SENSORS_W83792D_FAN1_DIV 71 /* RW */
#define SENSORS_W83792D_FAN2_DIV 72 /* RW */
#define SENSORS_W83792D_FAN3_DIV 73 /* RW */
#define SENSORS_W83792D_FAN4_DIV 74 /* RW */
#define SENSORS_W83792D_FAN5_DIV 75 /* RW */
#define SENSORS_W83792D_FAN6_DIV 76 /* RW */
#define SENSORS_W83792D_FAN7_DIV 77 /* RW */


/* Winbond W83793R chip */
#define SENSORS_W83793_PREFIX "w83793"

#define SENSORS_W83793_IN(n)		(0 + (n))  /* n(0-9) R */
#define SENSORS_W83793_IN_MIN(n)	(20 + (n)) /* n(0-9) RW */
#define SENSORS_W83793_IN_MAX(n)	(40 + (n)) /* n(0-9) RW */
#define SENSORS_W83793_IN_ALARM(n)	(60 + (n)) /* n(0-9) R */

#define SENSORS_W83793_FAN(n)		(80 + (n))  /* n(1-12) R */
#define SENSORS_W83793_FAN_MIN(n)	(100 + (n)) /* n(1-12) RW */
#define SENSORS_W83793_FAN_ALARM(n)	(120 + (n)) /* n(1-12) R */


#define SENSORS_W83793_TEMP(n)		(140 + (n)) /* n(1-6) R */
#define SENSORS_W83793_TEMP_CRIT(n)	(160 + (n)) /* n(1-6) RW */
#define SENSORS_W83793_TEMP_CRIT_HYST(n) (180 + (n)) /* n(1-6) RW */
#define SENSORS_W83793_TEMP_ALARM(n)	(200 + (n)) /* n(1-6) R */

#define SENSORS_W83793_VID0		221 /* R */
#define SENSORS_W83793_VID1		222 /* R */
#define SENSORS_W83793_VRM		230 /* RW */
#define SENSORS_W83793_CHASSIS		240 /* RW */


#define SENSORS_AS99127F_PREFIX "as99127f"

#define SENSORS_W83782D_IN0 1 /* R */
#define SENSORS_W83782D_IN1 2 /* R */
#define SENSORS_W83782D_IN2 3 /* R */
#define SENSORS_W83782D_IN3 4 /* R */
#define SENSORS_W83782D_IN4 5 /* R */
#define SENSORS_W83782D_IN5 6 /* R */
#define SENSORS_W83782D_IN6 7 /* R */
#define SENSORS_W83782D_IN7 8 /* R */
#define SENSORS_W83782D_IN8 9 /* R */
#define SENSORS_W83782D_IN0_MIN 11 /* RW */
#define SENSORS_W83782D_IN1_MIN 12 /* RW */
#define SENSORS_W83782D_IN2_MIN 13 /* RW */
#define SENSORS_W83782D_IN3_MIN 14 /* RW */
#define SENSORS_W83782D_IN4_MIN 15 /* RW */
#define SENSORS_W83782D_IN5_MIN 16 /* RW */
#define SENSORS_W83782D_IN6_MIN 17 /* RW */
#define SENSORS_W83782D_IN7_MIN 18 /* RW */
#define SENSORS_W83782D_IN8_MIN 19 /* RW */
#define SENSORS_W83782D_IN0_MAX 21 /* RW */
#define SENSORS_W83782D_IN1_MAX 22 /* RW */
#define SENSORS_W83782D_IN2_MAX 23 /* RW */
#define SENSORS_W83782D_IN3_MAX 24 /* RW */
#define SENSORS_W83782D_IN4_MAX 25 /* RW */
#define SENSORS_W83782D_IN5_MAX 26 /* RW */
#define SENSORS_W83782D_IN6_MAX 27 /* RW */
#define SENSORS_W83782D_IN7_MAX 28 /* RW */
#define SENSORS_W83782D_IN8_MAX 29 /* RW */
#define SENSORS_W83782D_FAN1 31 /* R */
#define SENSORS_W83782D_FAN2 32 /* R */
#define SENSORS_W83782D_FAN3 33 /* R */
#define SENSORS_W83782D_FAN1_MIN 41 /* RW */
#define SENSORS_W83782D_FAN2_MIN 42 /* RW */
#define SENSORS_W83782D_FAN3_MIN 43 /* RW */
#define SENSORS_W83782D_TEMP1 51 /* R */
#define SENSORS_W83782D_TEMP1_HYST 52 /* RW */
#define SENSORS_W83782D_TEMP1_OVER 53 /* RW */
#define SENSORS_W83782D_TEMP2 54 /* R */
#define SENSORS_W83782D_TEMP2_HYST 55 /* RW */
#define SENSORS_W83782D_TEMP2_OVER 56 /* RW */
#define SENSORS_W83782D_TEMP3 57 /* R */
#define SENSORS_W83782D_TEMP3_HYST 58 /* RW */
#define SENSORS_W83782D_TEMP3_OVER 59 /* RW */
#define SENSORS_W83782D_VID 61 /* R */
#define SENSORS_W83782D_VRM 62 /* RW */
#define SENSORS_W83782D_FAN1_DIV 71 /* RW */
#define SENSORS_W83782D_FAN2_DIV 72 /* RW */
#define SENSORS_W83782D_FAN3_DIV 73 /* R (yes, really! */
#define SENSORS_W83782D_ALARMS 81 /* R */
#define SENSORS_W83782D_BEEP_ENABLE 82 /* RW */
#define SENSORS_W83782D_BEEPS 83 /* RW */
#define SENSORS_W83782D_SENS1 91 /* RW */
#define SENSORS_W83782D_SENS2 92 /* RW */
#define SENSORS_W83782D_SENS3 93 /* RW */


/* Winbond W83783S chips */
/* Cheat on 697HF for now - no separate #defines */

#define SENSORS_W83783S_PREFIX "w83783s"
#define SENSORS_W83697HF_PREFIX "w83697hf"

#define SENSORS_W83783S_IN0 1 /* R */
#define SENSORS_W83783S_IN1 2 /* R */
#define SENSORS_W83783S_IN2 3 /* R */
#define SENSORS_W83783S_IN3 4 /* R */
#define SENSORS_W83783S_IN4 5 /* R */
#define SENSORS_W83783S_IN5 6 /* R */
#define SENSORS_W83783S_IN6 7 /* R */
#define SENSORS_W83783S_IN0_MIN 11 /* RW */
#define SENSORS_W83783S_IN1_MIN 12 /* RW */
#define SENSORS_W83783S_IN2_MIN 13 /* RW */
#define SENSORS_W83783S_IN3_MIN 14 /* RW */
#define SENSORS_W83783S_IN4_MIN 15 /* RW */
#define SENSORS_W83783S_IN5_MIN 16 /* RW */
#define SENSORS_W83783S_IN6_MIN 17 /* RW */
#define SENSORS_W83783S_IN0_MAX 21 /* RW */
#define SENSORS_W83783S_IN1_MAX 22 /* RW */
#define SENSORS_W83783S_IN2_MAX 23 /* RW */
#define SENSORS_W83783S_IN3_MAX 24 /* RW */
#define SENSORS_W83783S_IN4_MAX 25 /* RW */
#define SENSORS_W83783S_IN5_MAX 26 /* RW */
#define SENSORS_W83783S_IN6_MAX 27 /* RW */
#define SENSORS_W83783S_FAN1 31 /* R */
#define SENSORS_W83783S_FAN2 32 /* R */
#define SENSORS_W83783S_FAN3 33 /* R */
#define SENSORS_W83783S_FAN1_MIN 41 /* RW */
#define SENSORS_W83783S_FAN2_MIN 42 /* RW */
#define SENSORS_W83783S_FAN3_MIN 43 /* RW */
#define SENSORS_W83783S_TEMP1 51 /* R */
#define SENSORS_W83783S_TEMP1_HYST 52 /* RW */
#define SENSORS_W83783S_TEMP1_OVER 53 /* RW */
#define SENSORS_W83783S_TEMP2 54 /* R */
#define SENSORS_W83783S_TEMP2_HYST 55 /* RW */
#define SENSORS_W83783S_TEMP2_OVER 56 /* RW */
#define SENSORS_W83783S_VID 61 /* R */
#define SENSORS_W83783S_VRM 62 /* RW */
#define SENSORS_W83783S_FAN1_DIV 71 /* RW */
#define SENSORS_W83783S_FAN2_DIV 72 /* RW */
#define SENSORS_W83783S_FAN3_DIV 73 /* R (yes, really! */
#define SENSORS_W83783S_ALARMS 81 /* R */
#define SENSORS_W83783S_BEEP_ENABLE 82 /* RW */
#define SENSORS_W83783S_BEEPS 83 /* RW */
#define SENSORS_W83783S_SENS1 91 /* RW */
#define SENSORS_W83783S_SENS2 92 /* RW */


/* W83L785TS-S chips */

#define SENSORS_W83L785TS_PREFIX "w83l785ts"

#define SENSORS_W83L785TS_TEMP		51 /* R */
#define SENSORS_W83L785TS_TEMP_OVER	52 /* R for now */


/* Winbond W83627EHF Super-I/O chips */

#define SENSORS_W83627EHF_PREFIX	"w83627ehf"

#define SENSORS_W83627EHF_IN0		1 /* R */
#define SENSORS_W83627EHF_IN1		2 /* R */
#define SENSORS_W83627EHF_IN2		3 /* R */
#define SENSORS_W83627EHF_IN3		4 /* R */
#define SENSORS_W83627EHF_IN4		5 /* R */
#define SENSORS_W83627EHF_IN5		6 /* R */
#define SENSORS_W83627EHF_IN6		7 /* R */
#define SENSORS_W83627EHF_IN7		8 /* R */
#define SENSORS_W83627EHF_IN8		9 /* R */
#define SENSORS_W83627EHF_IN9 		10 /* R */
#define SENSORS_W83627EHF_IN0_ALARM	111 /* R */
#define SENSORS_W83627EHF_IN1_ALARM	112 /* R */
#define SENSORS_W83627EHF_IN2_ALARM	113 /* R */
#define SENSORS_W83627EHF_IN3_ALARM	114 /* R */
#define SENSORS_W83627EHF_IN4_ALARM	115 /* R */
#define SENSORS_W83627EHF_IN5_ALARM	116 /* R */
#define SENSORS_W83627EHF_IN6_ALARM	117 /* R */
#define SENSORS_W83627EHF_IN7_ALARM	118 /* R */
#define SENSORS_W83627EHF_IN8_ALARM	119 /* R */
#define SENSORS_W83627EHF_IN9_ALARM	120 /* R */
#define SENSORS_W83627EHF_IN0_MIN	11 /* RW */
#define SENSORS_W83627EHF_IN1_MIN	12 /* RW */
#define SENSORS_W83627EHF_IN2_MIN	13 /* RW */
#define SENSORS_W83627EHF_IN3_MIN	14 /* RW */
#define SENSORS_W83627EHF_IN4_MIN	15 /* RW */
#define SENSORS_W83627EHF_IN5_MIN	16 /* RW */
#define SENSORS_W83627EHF_IN6_MIN	17 /* RW */
#define SENSORS_W83627EHF_IN7_MIN	18 /* RW */
#define SENSORS_W83627EHF_IN8_MIN	19 /* RW */
#define SENSORS_W83627EHF_IN9_MIN	20 /* RW */
#define SENSORS_W83627EHF_IN0_MAX	21 /* RW */
#define SENSORS_W83627EHF_IN1_MAX	22 /* RW */
#define SENSORS_W83627EHF_IN2_MAX	23 /* RW */
#define SENSORS_W83627EHF_IN3_MAX	24 /* RW */
#define SENSORS_W83627EHF_IN4_MAX	25 /* RW */
#define SENSORS_W83627EHF_IN5_MAX	26 /* RW */
#define SENSORS_W83627EHF_IN6_MAX	27 /* RW */
#define SENSORS_W83627EHF_IN7_MAX	28 /* RW */
#define SENSORS_W83627EHF_IN8_MAX	29 /* RW */
#define SENSORS_W83627EHF_IN9_MAX	30 /* RW */
#define SENSORS_W83627EHF_FAN1		31 /* R  */
#define SENSORS_W83627EHF_FAN2		32 /* R  */
#define SENSORS_W83627EHF_FAN3		33 /* R  */
#define SENSORS_W83627EHF_FAN4		34 /* R  */
#define SENSORS_W83627EHF_FAN5		35 /* R  */
#define SENSORS_W83627EHF_FAN1_ALARM	131 /* R  */
#define SENSORS_W83627EHF_FAN2_ALARM	132 /* R  */
#define SENSORS_W83627EHF_FAN3_ALARM	133 /* R  */
#define SENSORS_W83627EHF_FAN4_ALARM	134 /* R  */
#define SENSORS_W83627EHF_FAN5_ALARM	135 /* R  */
#define SENSORS_W83627EHF_FAN1_MIN	41 /* RW */
#define SENSORS_W83627EHF_FAN2_MIN	42 /* RW */
#define SENSORS_W83627EHF_FAN3_MIN	43 /* RW */
#define SENSORS_W83627EHF_FAN4_MIN	44 /* RW */
#define SENSORS_W83627EHF_FAN5_MIN	45 /* RW */
#define SENSORS_W83627EHF_FAN1_DIV	51 /* RW */
#define SENSORS_W83627EHF_FAN2_DIV	52 /* RW */
#define SENSORS_W83627EHF_FAN3_DIV	53 /* RW */
#define SENSORS_W83627EHF_FAN4_DIV	54 /* RW */
#define SENSORS_W83627EHF_FAN5_DIV	55 /* RW */
#define SENSORS_W83627EHF_TEMP1		61 /* R  */
#define SENSORS_W83627EHF_TEMP2		62 /* R  */
#define SENSORS_W83627EHF_TEMP3		63 /* R  */
#define SENSORS_W83627EHF_TEMP1_ALARM	161 /* R  */
#define SENSORS_W83627EHF_TEMP2_ALARM	162 /* R  */
#define SENSORS_W83627EHF_TEMP3_ALARM	163 /* R  */
#define SENSORS_W83627EHF_TEMP1_OVER	71 /* RW */
#define SENSORS_W83627EHF_TEMP2_OVER	72 /* RW */
#define SENSORS_W83627EHF_TEMP3_OVER	73 /* RW */
#define SENSORS_W83627EHF_TEMP1_HYST	81 /* RW */
#define SENSORS_W83627EHF_TEMP2_HYST	82 /* RW */
#define SENSORS_W83627EHF_TEMP3_HYST	83 /* RW */


/* Analog Devices ADM9240 chips */

#define SENSORS_ADM9240_PREFIX "adm9240"
#define SENSORS_LM81_PREFIX "lm81"
#define SENSORS_DS1780_PREFIX "ds1780"

/* All three chips have the same features */
#define SENSORS_ADM9240_IN0 1 /* R */
#define SENSORS_ADM9240_IN1 2 /* R */
#define SENSORS_ADM9240_IN2 3 /* R */
#define SENSORS_ADM9240_IN3 4 /* R */
#define SENSORS_ADM9240_IN4 5 /* R */
#define SENSORS_ADM9240_IN5 6 /* R */
#define SENSORS_ADM9240_IN0_MIN 11 /* RW */
#define SENSORS_ADM9240_IN1_MIN 12 /* RW */
#define SENSORS_ADM9240_IN2_MIN 13 /* RW */
#define SENSORS_ADM9240_IN3_MIN 14 /* RW */
#define SENSORS_ADM9240_IN4_MIN 15 /* RW */
#define SENSORS_ADM9240_IN5_MIN 16 /* RW */
#define SENSORS_ADM9240_IN0_MAX 21 /* RW */
#define SENSORS_ADM9240_IN1_MAX 22 /* RW */
#define SENSORS_ADM9240_IN2_MAX 23 /* RW */
#define SENSORS_ADM9240_IN3_MAX 24 /* RW */
#define SENSORS_ADM9240_IN4_MAX 25 /* RW */
#define SENSORS_ADM9240_IN5_MAX 26 /* RW */
#define SENSORS_ADM9240_FAN1 31 /* R */
#define SENSORS_ADM9240_FAN2 32 /* R */
#define SENSORS_ADM9240_FAN1_MIN 41 /* RW */
#define SENSORS_ADM9240_FAN2_MIN 42 /* RW */
#define SENSORS_ADM9240_TEMP 51 /* R */
#define SENSORS_ADM9240_TEMP_HYST 52 /* RW */
#define SENSORS_ADM9240_TEMP_OVER 53 /* RW */
#define SENSORS_ADM9240_VID 61 /* R */
#define SENSORS_ADM9240_FAN1_DIV 71 /* RW */
#define SENSORS_ADM9240_FAN2_DIV 72 /* RW */
#define SENSORS_ADM9240_ALARMS 81 /* R */
#define SENSORS_ADM9240_ANALOG_OUT 82 /* RW */


/* SiS southbridge with integrated lm78 */

#define SENSORS_SIS5595_PREFIX "sis5595"

#define SENSORS_SIS5595_IN0 1 /* R */
#define SENSORS_SIS5595_IN1 2 /* R */
#define SENSORS_SIS5595_IN2 3 /* R */
#define SENSORS_SIS5595_IN3 4 /* R */
#define SENSORS_SIS5595_IN4 5 /* R */
#define SENSORS_SIS5595_IN0_MIN 11 /* RW */
#define SENSORS_SIS5595_IN1_MIN 12 /* RW */
#define SENSORS_SIS5595_IN2_MIN 13 /* RW */
#define SENSORS_SIS5595_IN3_MIN 14 /* RW */
#define SENSORS_SIS5595_IN4_MIN 15 /* RW */
#define SENSORS_SIS5595_IN0_MAX 21 /* RW */
#define SENSORS_SIS5595_IN1_MAX 22 /* RW */
#define SENSORS_SIS5595_IN2_MAX 23 /* RW */
#define SENSORS_SIS5595_IN3_MAX 24 /* RW */
#define SENSORS_SIS5595_IN4_MAX 25 /* RW */
#define SENSORS_SIS5595_FAN1 31 /* R */
#define SENSORS_SIS5595_FAN2 32 /* R */
#define SENSORS_SIS5595_FAN1_MIN 41 /* RW */
#define SENSORS_SIS5595_FAN2_MIN 42 /* RW */
#define SENSORS_SIS5595_TEMP 51 /* R */
#define SENSORS_SIS5595_TEMP_HYST 52 /* RW */
#define SENSORS_SIS5595_TEMP_OVER 53 /* RW */
#define SENSORS_SIS5595_FAN1_DIV 71 /* RW */
#define SENSORS_SIS5595_FAN2_DIV 72 /* RW */
#define SENSORS_SIS5595_ALARMS 81 /* R */


/* HP MaxiLife chips */

#define SENSORS_MAXI_CG_PREFIX "maxilife-cg"
#define SENSORS_MAXI_CO_PREFIX "maxilife-co"
#define SENSORS_MAXI_AS_PREFIX "maxilife-as"
#define SENSORS_MAXI_NBA_PREFIX "maxilife-nba"

#define SENSORS_MAXI_CG_FAN1 1 /* R */
#define SENSORS_MAXI_CG_FAN2 2 /* R */
#define SENSORS_MAXI_CG_FAN3 3 /* R */
#define SENSORS_MAXI_CG_FAN1_MIN 11 /* RW */
#define SENSORS_MAXI_CG_FAN2_MIN 12 /* RW */
#define SENSORS_MAXI_CG_FAN3_MIN 13 /* RW */
#define SENSORS_MAXI_CG_FAN1_DIV 14 /* R */
#define SENSORS_MAXI_CG_FAN2_DIV 15 /* R */
#define SENSORS_MAXI_CG_FAN3_DIV 16 /* R */
#define SENSORS_MAXI_CG_TEMP1 21 /* R */
#define SENSORS_MAXI_CG_TEMP2 22 /* R */
#define SENSORS_MAXI_CG_TEMP3 23 /* R */
#define SENSORS_MAXI_CG_TEMP4 24 /* R */
#define SENSORS_MAXI_CG_TEMP5 25 /* R */
#define SENSORS_MAXI_CG_TEMP1_MAX 31 /* R */
#define SENSORS_MAXI_CG_TEMP2_MAX 32 /* R */
#define SENSORS_MAXI_CG_TEMP3_MAX 33 /* R */
#define SENSORS_MAXI_CG_TEMP4_MAX 34 /* R */
#define SENSORS_MAXI_CG_TEMP5_MAX 35 /* R */
#define SENSORS_MAXI_CG_TEMP1_HYST 41 /* R */
#define SENSORS_MAXI_CG_TEMP2_HYST 42 /* R */
#define SENSORS_MAXI_CG_TEMP3_HYST 43 /* R */
#define SENSORS_MAXI_CG_TEMP4_HYST 44 /* R */
#define SENSORS_MAXI_CG_TEMP5_HYST 45 /* R */
#define SENSORS_MAXI_CG_PLL 51 /* R */
#define SENSORS_MAXI_CG_PLL_MIN 52 /* RW */
#define SENSORS_MAXI_CG_PLL_MAX 53 /* RW */
#define SENSORS_MAXI_CG_VID1 61 /* R */
#define SENSORS_MAXI_CG_VID2 62 /* R */
#define SENSORS_MAXI_CG_VID3 63 /* R */
#define SENSORS_MAXI_CG_VID4 64 /* R */
#define SENSORS_MAXI_CG_VID1_MIN 71 /* RW */
#define SENSORS_MAXI_CG_VID2_MIN 72 /* RW */
#define SENSORS_MAXI_CG_VID3_MIN 73 /* RW */
#define SENSORS_MAXI_CG_VID4_MIN 74 /* RW */
#define SENSORS_MAXI_CG_VID1_MAX 81 /* RW */
#define SENSORS_MAXI_CG_VID2_MAX 82 /* RW */
#define SENSORS_MAXI_CG_VID3_MAX 83 /* RW */
#define SENSORS_MAXI_CG_VID4_MAX 84 /* RW */
#define SENSORS_MAXI_CG_ALARMS 91 /* R */

#define SENSORS_MAXI_CO_FAN1 1 /* R */
#define SENSORS_MAXI_CO_FAN2 2 /* R */
#define SENSORS_MAXI_CO_FAN3 3 /* R */
#define SENSORS_MAXI_CO_FAN1_MIN 11 /* RW */
#define SENSORS_MAXI_CO_FAN2_MIN 12 /* RW */
#define SENSORS_MAXI_CO_FAN3_MIN 13 /* RW */
#define SENSORS_MAXI_CO_FAN1_DIV 14 /* R */
#define SENSORS_MAXI_CO_FAN2_DIV 15 /* R */
#define SENSORS_MAXI_CO_FAN3_DIV 16 /* R */
#define SENSORS_MAXI_CO_TEMP1 21 /* R */
#define SENSORS_MAXI_CO_TEMP2 22 /* R */
#define SENSORS_MAXI_CO_TEMP3 23 /* R */
#define SENSORS_MAXI_CO_TEMP4 24 /* R */
#define SENSORS_MAXI_CO_TEMP5 25 /* R */
#define SENSORS_MAXI_CO_TEMP1_MAX 31 /* R */
#define SENSORS_MAXI_CO_TEMP2_MAX 32 /* R */
#define SENSORS_MAXI_CO_TEMP3_MAX 33 /* R */
#define SENSORS_MAXI_CO_TEMP4_MAX 34 /* R */
#define SENSORS_MAXI_CO_TEMP5_MAX 35 /* R */
#define SENSORS_MAXI_CO_TEMP1_HYST 41 /* R */
#define SENSORS_MAXI_CO_TEMP2_HYST 42 /* R */
#define SENSORS_MAXI_CO_TEMP3_HYST 43 /* R */
#define SENSORS_MAXI_CO_TEMP4_HYST 44 /* R */
#define SENSORS_MAXI_CO_TEMP5_HYST 45 /* R */
#define SENSORS_MAXI_CO_PLL 51 /* R */
#define SENSORS_MAXI_CO_PLL_MIN 52 /* RW */
#define SENSORS_MAXI_CO_PLL_MAX 53 /* RW */
#define SENSORS_MAXI_CO_VID1 61 /* R */
#define SENSORS_MAXI_CO_VID2 62 /* R */
#define SENSORS_MAXI_CO_VID3 63 /* R */
#define SENSORS_MAXI_CO_VID4 64 /* R */
#define SENSORS_MAXI_CO_VID1_MIN 71 /* RW */
#define SENSORS_MAXI_CO_VID2_MIN 72 /* RW */
#define SENSORS_MAXI_CO_VID3_MIN 73 /* RW */
#define SENSORS_MAXI_CO_VID4_MIN 74 /* RW */
#define SENSORS_MAXI_CO_VID1_MAX 81 /* RW */
#define SENSORS_MAXI_CO_VID2_MAX 82 /* RW */
#define SENSORS_MAXI_CO_VID3_MAX 83 /* RW */
#define SENSORS_MAXI_CO_VID4_MAX 84 /* RW */
#define SENSORS_MAXI_CO_ALARMS 91 /* R */

#define SENSORS_MAXI_AS_FAN1 1 /* R */
#define SENSORS_MAXI_AS_FAN2 2 /* R */
#define SENSORS_MAXI_AS_FAN3 3 /* R */
#define SENSORS_MAXI_AS_FAN1_MIN 11 /* RW */
#define SENSORS_MAXI_AS_FAN2_MIN 12 /* RW */
#define SENSORS_MAXI_AS_FAN3_MIN 13 /* RW */
#define SENSORS_MAXI_AS_FAN1_DIV 14 /* R */
#define SENSORS_MAXI_AS_FAN2_DIV 15 /* R */
#define SENSORS_MAXI_AS_FAN3_DIV 16 /* R */
#define SENSORS_MAXI_AS_TEMP1 21 /* R */
#define SENSORS_MAXI_AS_TEMP2 22 /* R */
#define SENSORS_MAXI_AS_TEMP3 23 /* R */
#define SENSORS_MAXI_AS_TEMP4 24 /* R */
#define SENSORS_MAXI_AS_TEMP5 25 /* R */
#define SENSORS_MAXI_AS_TEMP1_MAX 31 /* R */
#define SENSORS_MAXI_AS_TEMP2_MAX 32 /* R */
#define SENSORS_MAXI_AS_TEMP3_MAX 33 /* R */
#define SENSORS_MAXI_AS_TEMP4_MAX 34 /* R */
#define SENSORS_MAXI_AS_TEMP5_MAX 35 /* R */
#define SENSORS_MAXI_AS_TEMP1_HYST 41 /* R */
#define SENSORS_MAXI_AS_TEMP2_HYST 42 /* R */
#define SENSORS_MAXI_AS_TEMP3_HYST 43 /* R */
#define SENSORS_MAXI_AS_TEMP4_HYST 44 /* R */
#define SENSORS_MAXI_AS_TEMP5_HYST 45 /* R */
#define SENSORS_MAXI_AS_PLL 51 /* R */
#define SENSORS_MAXI_AS_PLL_MIN 52 /* RW */
#define SENSORS_MAXI_AS_PLL_MAX 53 /* RW */
#define SENSORS_MAXI_AS_VID1 61 /* R */
#define SENSORS_MAXI_AS_VID2 62 /* R */
#define SENSORS_MAXI_AS_VID3 63 /* R */
#define SENSORS_MAXI_AS_VID4 64 /* R */
#define SENSORS_MAXI_AS_VID1_MIN 71 /* RW */
#define SENSORS_MAXI_AS_VID2_MIN 72 /* RW */
#define SENSORS_MAXI_AS_VID3_MIN 73 /* RW */
#define SENSORS_MAXI_AS_VID4_MIN 74 /* RW */
#define SENSORS_MAXI_AS_VID1_MAX 81 /* RW */
#define SENSORS_MAXI_AS_VID2_MAX 82 /* RW */
#define SENSORS_MAXI_AS_VID3_MAX 83 /* RW */
#define SENSORS_MAXI_AS_VID4_MAX 84 /* RW */
#define SENSORS_MAXI_AS_ALARMS 91 /* R */

/* THMC50/ADM1022 chips */

#define SENSORS_THMC50_PREFIX "thmc50"
/* Cheat on LM84,GL523,THMC10 for now - no separate #defines */
#define SENSORS_ADM1022_PREFIX "adm1022"

#define SENSORS_THMC50_TEMP 51 /* R */
#define SENSORS_THMC50_TEMP_HYST 52 /* RW */
#define SENSORS_THMC50_TEMP_OVER 53 /* RW */
#define SENSORS_THMC50_REMOTE_TEMP 54 /* R */
#define SENSORS_THMC50_REMOTE_TEMP_HYST 55 /* RW */
#define SENSORS_THMC50_REMOTE_TEMP_OVER 56 /* RW */
#define SENSORS_THMC50_ANALOG_OUT 71 /* RW */
#define SENSORS_THMC50_INTER 81 /* R */
#define SENSORS_THMC50_INTER_MASK 82 /* RW */
#define SENSORS_THMC50_DIE_CODE 90 /* R */

/* ADM1025 chip */

#define SENSORS_ADM1025_PREFIX "adm1025"
#define SENSORS_NE1619_PREFIX "ne1619"

#define SENSORS_ADM1025_IN0 1 /* R */
#define SENSORS_ADM1025_IN1 2 /* R */
#define SENSORS_ADM1025_IN2 3 /* R */
#define SENSORS_ADM1025_IN3 4 /* R */
#define SENSORS_ADM1025_IN4 5 /* R */
#define SENSORS_ADM1025_IN5 6 /* R */
#define SENSORS_ADM1025_IN0_MIN 11 /* RW */
#define SENSORS_ADM1025_IN1_MIN 12 /* RW */
#define SENSORS_ADM1025_IN2_MIN 13 /* RW */
#define SENSORS_ADM1025_IN3_MIN 14 /* RW */
#define SENSORS_ADM1025_IN4_MIN 15 /* RW */
#define SENSORS_ADM1025_IN5_MIN 16 /* RW */
#define SENSORS_ADM1025_IN0_MAX 21 /* RW */
#define SENSORS_ADM1025_IN1_MAX 22 /* RW */
#define SENSORS_ADM1025_IN2_MAX 23 /* RW */
#define SENSORS_ADM1025_IN3_MAX 24 /* RW */
#define SENSORS_ADM1025_IN4_MAX 25 /* RW */
#define SENSORS_ADM1025_IN5_MAX 26 /* RW */
#define SENSORS_ADM1025_TEMP1 51 /* R */
#define SENSORS_ADM1025_TEMP1_LOW 52 /* RW */
#define SENSORS_ADM1025_TEMP1_HIGH 53 /* RW */
#define SENSORS_ADM1025_TEMP2 54 /* R */
#define SENSORS_ADM1025_TEMP2_LOW 55 /* RW */
#define SENSORS_ADM1025_TEMP2_HIGH 56 /* RW */
#define SENSORS_ADM1025_VID 61 /* R */
#define SENSORS_ADM1025_VRM 62 /* R */
#define SENSORS_ADM1025_ALARMS 81 /* R */


#define SENSORS_ADM1026_PREFIX "adm1026"
/* NOTE: print_adm1026 (sensors) depends on the ordering
 *    of these entries in each group.  For example
 *         fan#, fan#_div, fan#_min
 *         temp#, temp#_max, temp#_min, temp#_offset
 *    and the ordering of the groups
 *         in0, in1, ... in9, in10, in11
 */
#define SENSORS_ADM1026_AFC_DAC            1  /* RW -- afc_analog_out  */
#define SENSORS_ADM1026_AFC_PWM            2  /* RW -- afc_pwm  */
#define SENSORS_ADM1026_ALARMS             3  /* R  -- alarms  */
#define SENSORS_ADM1026_ALARM_MASK         4  /* R  -- alarm_mask  */
#define SENSORS_ADM1026_DAC                5  /* RW -- analog_out  */
#define SENSORS_ADM1026_GPIO               6  /* R  -- gpio  */
#define SENSORS_ADM1026_GPIO_MASK          7  /* R  -- gpio_mask  */
#define SENSORS_ADM1026_PWM                8  /* RW -- pwm  */
#define SENSORS_ADM1026_VID                9  /* RW -- vid  */
#define SENSORS_ADM1026_VRM               10  /* RW -- vrm  */
#define SENSORS_ADM1026_FAN0              11  /* R  -- fan0  */
#define SENSORS_ADM1026_FAN0_DIV          12  /* RW -- fan0_div  */
#define SENSORS_ADM1026_FAN0_MIN          13  /* RW -- fan0_min  */
#define SENSORS_ADM1026_FAN1              14  /* R  -- fan1  */
#define SENSORS_ADM1026_FAN1_DIV          15  /* RW -- fan1_div  */
#define SENSORS_ADM1026_FAN1_MIN          16  /* RW -- fan1_min  */
#define SENSORS_ADM1026_FAN2              17  /* R  -- fan2  */
#define SENSORS_ADM1026_FAN2_DIV          18  /* RW -- fan2_div  */
#define SENSORS_ADM1026_FAN2_MIN          19  /* RW -- fan2_min  */
#define SENSORS_ADM1026_FAN3              20  /* R  -- fan3  */
#define SENSORS_ADM1026_FAN3_DIV          21  /* RW -- fan3_div  */
#define SENSORS_ADM1026_FAN3_MIN          22  /* RW -- fan3_min  */
#define SENSORS_ADM1026_FAN4              23  /* R  -- fan4  */
#define SENSORS_ADM1026_FAN4_DIV          24  /* RW -- fan4_div  */
#define SENSORS_ADM1026_FAN4_MIN          25  /* RW -- fan4_min  */
#define SENSORS_ADM1026_FAN5              26  /* R  -- fan5  */
#define SENSORS_ADM1026_FAN5_DIV          27  /* RW -- fan5_div  */
#define SENSORS_ADM1026_FAN5_MIN          28  /* RW -- fan5_min  */
#define SENSORS_ADM1026_FAN6              29  /* R  -- fan6  */
#define SENSORS_ADM1026_FAN6_DIV          30  /* RW -- fan6_div  */
#define SENSORS_ADM1026_FAN6_MIN          31  /* RW -- fan6_min  */
#define SENSORS_ADM1026_FAN7              32  /* R  -- fan7  */
#define SENSORS_ADM1026_FAN7_DIV          33  /* RW -- fan7_div  */
#define SENSORS_ADM1026_FAN7_MIN          34  /* RW -- fan7_min  */
#define SENSORS_ADM1026_IN0               35  /* R  -- in0  */
#define SENSORS_ADM1026_IN0_MAX           36  /* RW -- in0_max  */
#define SENSORS_ADM1026_IN0_MIN           37  /* RW -- in0_min  */
#define SENSORS_ADM1026_IN1               38  /* R  -- in1  */
#define SENSORS_ADM1026_IN1_MAX           39  /* RW -- in1_max  */
#define SENSORS_ADM1026_IN1_MIN           40  /* RW -- in1_min  */
#define SENSORS_ADM1026_IN2               41  /* R  -- in2  */
#define SENSORS_ADM1026_IN2_MAX           42  /* RW -- in2_max  */
#define SENSORS_ADM1026_IN2_MIN           43  /* RW -- in2_min  */
#define SENSORS_ADM1026_IN3               44  /* R  -- in3  */
#define SENSORS_ADM1026_IN3_MAX           45  /* RW -- in3_max  */
#define SENSORS_ADM1026_IN3_MIN           46  /* RW -- in3_min  */
#define SENSORS_ADM1026_IN4               47  /* R  -- in4  */
#define SENSORS_ADM1026_IN4_MAX           48  /* RW -- in4_max  */
#define SENSORS_ADM1026_IN4_MIN           49  /* RW -- in4_min  */
#define SENSORS_ADM1026_IN5               50  /* R  -- in5  */
#define SENSORS_ADM1026_IN5_MAX           51  /* RW -- in5_max  */
#define SENSORS_ADM1026_IN5_MIN           52  /* RW -- in5_min  */
#define SENSORS_ADM1026_IN6               53  /* R  -- in6  */
#define SENSORS_ADM1026_IN6_MAX           54  /* RW -- in6_max  */
#define SENSORS_ADM1026_IN6_MIN           55  /* RW -- in6_min  */
#define SENSORS_ADM1026_IN7               56  /* R  -- in7  */
#define SENSORS_ADM1026_IN7_MAX           57  /* RW -- in7_max  */
#define SENSORS_ADM1026_IN7_MIN           58  /* RW -- in7_min  */
#define SENSORS_ADM1026_IN8               59  /* R  -- in8  */
#define SENSORS_ADM1026_IN8_MAX           60  /* RW -- in8_max  */
#define SENSORS_ADM1026_IN8_MIN           61  /* RW -- in8_min  */
#define SENSORS_ADM1026_IN9               62  /* R  -- in9  */
#define SENSORS_ADM1026_IN9_MAX           63  /* RW -- in9_max  */
#define SENSORS_ADM1026_IN9_MIN           64  /* RW -- in9_min  */
#define SENSORS_ADM1026_IN10              65  /* R  -- in10  */
#define SENSORS_ADM1026_IN10_MAX          66  /* RW -- in10_max  */
#define SENSORS_ADM1026_IN10_MIN          67  /* RW -- in10_min  */
#define SENSORS_ADM1026_IN11              68  /* R  -- in11  */
#define SENSORS_ADM1026_IN11_MAX          69  /* RW -- in11_max  */
#define SENSORS_ADM1026_IN11_MIN          70  /* RW -- in11_min  */
#define SENSORS_ADM1026_IN12              71  /* R  -- in12  */
#define SENSORS_ADM1026_IN12_MAX          72  /* RW -- in12_max  */
#define SENSORS_ADM1026_IN12_MIN          73  /* RW -- in12_min  */
#define SENSORS_ADM1026_IN13              74  /* R  -- in13  */
#define SENSORS_ADM1026_IN13_MAX          75  /* RW -- in13_max  */
#define SENSORS_ADM1026_IN13_MIN          76  /* RW -- in13_min  */
#define SENSORS_ADM1026_IN14              77  /* R  -- in14  */
#define SENSORS_ADM1026_IN14_MAX          78  /* RW -- in14_max  */
#define SENSORS_ADM1026_IN14_MIN          79  /* RW -- in14_min  */
#define SENSORS_ADM1026_IN15              80  /* R  -- in15  */
#define SENSORS_ADM1026_IN15_MAX          81  /* RW -- in15_max  */
#define SENSORS_ADM1026_IN15_MIN          82  /* RW -- in15_min  */
#define SENSORS_ADM1026_IN16              83  /* R  -- in16  */
#define SENSORS_ADM1026_IN16_MAX          84  /* RW -- in16_max  */
#define SENSORS_ADM1026_IN16_MIN          85  /* RW -- in16_min  */
#define SENSORS_ADM1026_TEMP1             86  /* R  -- temp1  */
#define SENSORS_ADM1026_TEMP1_MAX         87  /* RW -- temp1_max  */
#define SENSORS_ADM1026_TEMP1_MIN         88  /* RW -- temp1_min  */
#define SENSORS_ADM1026_TEMP1_OFFSET      89  /* RW -- temp1_offset  */
#define SENSORS_ADM1026_TEMP1_THERM       90  /* RW -- temp1_therm  */
#define SENSORS_ADM1026_TEMP1_TMIN        91  /* RW -- temp1_tmin  */
#define SENSORS_ADM1026_TEMP2             92  /* R  -- temp2  */
#define SENSORS_ADM1026_TEMP2_MAX         93  /* RW -- temp2_max  */
#define SENSORS_ADM1026_TEMP2_MIN         94  /* RW -- temp2_min  */
#define SENSORS_ADM1026_TEMP2_OFFSET      95  /* RW -- temp2_offset  */
#define SENSORS_ADM1026_TEMP2_THERM       96  /* RW -- temp2_therm  */
#define SENSORS_ADM1026_TEMP2_TMIN        97  /* RW -- temp2_tmin  */
#define SENSORS_ADM1026_TEMP3             98  /* R  -- temp3  */
#define SENSORS_ADM1026_TEMP3_MAX         99  /* RW -- temp3_max  */
#define SENSORS_ADM1026_TEMP3_MIN        100  /* RW -- temp3_min  */
#define SENSORS_ADM1026_TEMP3_OFFSET     101  /* RW -- temp3_offset  */
#define SENSORS_ADM1026_TEMP3_THERM      102  /* RW -- temp3_therm  */
#define SENSORS_ADM1026_TEMP3_TMIN       103  /* RW -- temp3_tmin  */


#define SENSORS_VIA686A_PREFIX "via686a"

#define SENSORS_VIA686A_IN0 1 /* R */
#define SENSORS_VIA686A_IN1 2 /* R */
#define SENSORS_VIA686A_IN2 3 /* R */
#define SENSORS_VIA686A_IN3 4 /* R */
#define SENSORS_VIA686A_IN4 5 /* R */
#define SENSORS_VIA686A_IN0_MIN 11 /* RW */
#define SENSORS_VIA686A_IN1_MIN 12 /* RW */
#define SENSORS_VIA686A_IN2_MIN 13 /* RW */
#define SENSORS_VIA686A_IN3_MIN 14 /* RW */
#define SENSORS_VIA686A_IN4_MIN 15 /* RW */
#define SENSORS_VIA686A_IN0_MAX 21 /* RW */
#define SENSORS_VIA686A_IN1_MAX 22 /* RW */
#define SENSORS_VIA686A_IN2_MAX 23 /* RW */
#define SENSORS_VIA686A_IN3_MAX 24 /* RW */
#define SENSORS_VIA686A_IN4_MAX 25 /* RW */
#define SENSORS_VIA686A_FAN1 31 /* R */
#define SENSORS_VIA686A_FAN2 32 /* R */
#define SENSORS_VIA686A_FAN1_MIN 41 /* RW */
#define SENSORS_VIA686A_FAN2_MIN 42 /* RW */
#define SENSORS_VIA686A_TEMP 51 /* R */
#define SENSORS_VIA686A_TEMP_HYST 52 /* RW */
#define SENSORS_VIA686A_TEMP_OVER 53 /* RW */
#define SENSORS_VIA686A_TEMP2 54 /* R */
#define SENSORS_VIA686A_TEMP2_HYST 55 /* RW */
#define SENSORS_VIA686A_TEMP2_OVER 56 /* RW */
#define SENSORS_VIA686A_TEMP3 57 /* R */
#define SENSORS_VIA686A_TEMP3_HYST 58 /* RW */
#define SENSORS_VIA686A_TEMP3_OVER 59 /* RW */
#define SENSORS_VIA686A_FAN1_DIV 71 /* RW */
#define SENSORS_VIA686A_FAN2_DIV 72 /* RW */
#define SENSORS_VIA686A_ALARMS 81 /* R */


/* DDC Monitor */

#define SENSORS_DDCMON_PREFIX "ddcmon"

#define SENSORS_DDCMON_MAN_ID 10
#define SENSORS_DDCMON_PROD_ID 11
#define SENSORS_DDCMON_YEAR 13
#define SENSORS_DDCMON_WEEK 14
#define SENSORS_DDCMON_EDID_VER 15
#define SENSORS_DDCMON_EDID_REV 16
#define SENSORS_DDCMON_HORSIZE 21
#define SENSORS_DDCMON_VERSIZE 22
#define SENSORS_DDCMON_GAMMA 23
#define SENSORS_DDCMON_DPMS 24
#define SENSORS_DDCMON_HORSYNCMIN 31
#define SENSORS_DDCMON_HORSYNCMAX 32
#define SENSORS_DDCMON_VERSYNCMIN 33
#define SENSORS_DDCMON_VERSYNCMAX 34
#define SENSORS_DDCMON_MAXCLOCK 35
#define SENSORS_DDCMON_SERIAL 40
#define SENSORS_DDCMON_TIMINGS 50
#define SENSORS_DDCMON_TIMING1_HOR 51
#define SENSORS_DDCMON_TIMING1_VER 52
#define SENSORS_DDCMON_TIMING1_REF 53
#define SENSORS_DDCMON_TIMING2_HOR 54
#define SENSORS_DDCMON_TIMING2_VER 55
#define SENSORS_DDCMON_TIMING2_REF 56
#define SENSORS_DDCMON_TIMING3_HOR 57
#define SENSORS_DDCMON_TIMING3_VER 58
#define SENSORS_DDCMON_TIMING3_REF 59
#define SENSORS_DDCMON_TIMING4_HOR 60
#define SENSORS_DDCMON_TIMING4_VER 61
#define SENSORS_DDCMON_TIMING4_REF 62
#define SENSORS_DDCMON_TIMING5_HOR 63
#define SENSORS_DDCMON_TIMING5_VER 64
#define SENSORS_DDCMON_TIMING5_REF 65
#define SENSORS_DDCMON_TIMING6_HOR 66
#define SENSORS_DDCMON_TIMING6_VER 67
#define SENSORS_DDCMON_TIMING6_REF 68
#define SENSORS_DDCMON_TIMING7_HOR 69
#define SENSORS_DDCMON_TIMING7_VER 70
#define SENSORS_DDCMON_TIMING7_REF 71
#define SENSORS_DDCMON_TIMING8_HOR 72
#define SENSORS_DDCMON_TIMING8_VER 73
#define SENSORS_DDCMON_TIMING8_REF 74

/* EEPROM (SDRAM DIMM) */

#define SENSORS_EEPROM_PREFIX "eeprom"

#define SENSORS_EEPROM_TYPE 10
#define SENSORS_EEPROM_ROWADDR 12
#define SENSORS_EEPROM_COLADDR 13
#define SENSORS_EEPROM_NUMROWS 14
#define SENSORS_EEPROM_BANKS 15

#define SENSORS_EEPROM_VAIO_NAME 128
/* 129 to 159: reserved, do not use! */
#define SENSORS_EEPROM_VAIO_SERIAL 160
/* 161 to 191: reserved, do not use! */

#define SENSORS_EEPROM_EDID_HEADER 32
/* 33 to 39: reserved, do not use! */

#define SENSORS_EEPROM_SHUTTLE 40
/* 41 to 45: reserved, do not use! */

/* Analog Devices LM87 chips */

#define SENSORS_LM87_PREFIX "lm87"

#define SENSORS_LM87_IN0              1 /* R */
#define SENSORS_LM87_IN1              2 /* R */
#define SENSORS_LM87_IN2              3 /* R */
#define SENSORS_LM87_IN3              4 /* R */
#define SENSORS_LM87_IN4              5 /* R */
#define SENSORS_LM87_IN5              6 /* R */
#define SENSORS_LM87_AIN1             7 /* R */
#define SENSORS_LM87_AIN2             8 /* R */
#define SENSORS_LM87_IN0_MIN         11 /* RW */
#define SENSORS_LM87_IN1_MIN         12 /* RW */
#define SENSORS_LM87_IN2_MIN         13 /* RW */
#define SENSORS_LM87_IN3_MIN         14 /* RW */
#define SENSORS_LM87_IN4_MIN         15 /* RW */
#define SENSORS_LM87_IN5_MIN         16 /* RW */
#define SENSORS_LM87_AIN1_MIN        17 /* RW */
#define SENSORS_LM87_AIN2_MIN        18 /* RW */
#define SENSORS_LM87_IN0_MAX         21 /* RW */
#define SENSORS_LM87_IN1_MAX         22 /* RW */
#define SENSORS_LM87_IN2_MAX         23 /* RW */
#define SENSORS_LM87_IN3_MAX         24 /* RW */
#define SENSORS_LM87_IN4_MAX         25 /* RW */
#define SENSORS_LM87_IN5_MAX         26 /* RW */
#define SENSORS_LM87_AIN1_MAX        27 /* RW */
#define SENSORS_LM87_AIN2_MAX        28 /* RW */
#define SENSORS_LM87_FAN1            31 /* R */
#define SENSORS_LM87_FAN2            32 /* R */
#define SENSORS_LM87_FAN1_MIN        41 /* RW */
#define SENSORS_LM87_FAN2_MIN        42 /* RW */
#define SENSORS_LM87_TEMP1           51 /* R */
#define SENSORS_LM87_TEMP2           52 /* R */
#define SENSORS_LM87_TEMP3           53 /* R */
#define SENSORS_LM87_TEMP1_HYST      54 /* RW */
#define SENSORS_LM87_TEMP1_OVER      55 /* RW */
#define SENSORS_LM87_TEMP2_HYST      56 /* RW */
#define SENSORS_LM87_TEMP2_OVER      57 /* RW */
#define SENSORS_LM87_TEMP3_HYST      58 /* RW */
#define SENSORS_LM87_TEMP3_OVER      59 /* RW */
#define SENSORS_LM87_VID             61 /* R */
#define SENSORS_LM87_VRM             62 /* RW */
#define SENSORS_LM87_FAN1_DIV        71 /* RW */
#define SENSORS_LM87_FAN2_DIV        72 /* RW */
#define SENSORS_LM87_ALARMS          81 /* R */
#define SENSORS_LM87_ANALOG_OUT      82 /* RW */

/* Myson MTP008 chips */

#define SENSORS_MTP008_PREFIX		"mtp008"

#define SENSORS_MTP008_IN0              1 /* R */
#define SENSORS_MTP008_IN1              2 /* R */
#define SENSORS_MTP008_IN2              3 /* R */
#define SENSORS_MTP008_IN3              4 /* R */
#define SENSORS_MTP008_IN4              5 /* R */
#define SENSORS_MTP008_IN5              6 /* R */
#define SENSORS_MTP008_IN6              7 /* R */
#define SENSORS_MTP008_IN0_MIN         11 /* RW */
#define SENSORS_MTP008_IN1_MIN         12 /* RW */
#define SENSORS_MTP008_IN2_MIN         13 /* RW */
#define SENSORS_MTP008_IN3_MIN         14 /* RW */
#define SENSORS_MTP008_IN4_MIN         15 /* RW */
#define SENSORS_MTP008_IN5_MIN         16 /* RW */
#define SENSORS_MTP008_IN6_MIN         17 /* RW */
#define SENSORS_MTP008_IN0_MAX         21 /* RW */
#define SENSORS_MTP008_IN1_MAX         22 /* RW */
#define SENSORS_MTP008_IN2_MAX         23 /* RW */
#define SENSORS_MTP008_IN3_MAX         24 /* RW */
#define SENSORS_MTP008_IN4_MAX         25 /* RW */
#define SENSORS_MTP008_IN5_MAX         26 /* RW */
#define SENSORS_MTP008_IN6_MAX         27 /* RW */
#define SENSORS_MTP008_FAN1            31 /* R */
#define SENSORS_MTP008_FAN2            32 /* R */
#define SENSORS_MTP008_FAN3            33 /* R */
#define SENSORS_MTP008_FAN1_MIN        41 /* RW */
#define SENSORS_MTP008_FAN2_MIN        42 /* RW */
#define SENSORS_MTP008_FAN3_MIN        43 /* RW */
#define SENSORS_MTP008_TEMP1           51 /* R */
#define SENSORS_MTP008_TEMP2           52 /* R */
#define SENSORS_MTP008_TEMP3           53 /* R */
#define SENSORS_MTP008_TEMP1_OVER      54 /* RW */
#define SENSORS_MTP008_TEMP1_HYST      55 /* RW */
#define SENSORS_MTP008_TEMP2_OVER      56 /* RW */
#define SENSORS_MTP008_TEMP2_HYST      57 /* RW */
#define SENSORS_MTP008_TEMP3_OVER      58 /* RW */
#define SENSORS_MTP008_TEMP3_HYST      59 /* RW */
#define SENSORS_MTP008_VID             61 /* R */
#define SENSORS_MTP008_FAN1_DIV        71 /* RW */
#define SENSORS_MTP008_FAN2_DIV        72 /* RW */
#define SENSORS_MTP008_FAN3_DIV        73 /* RW */
#define SENSORS_MTP008_ALARMS          81 /* R */
#define SENSORS_MTP008_BEEP            82 /* RW */

/* DS1621 chips. */

#define SENSORS_DS1621_PREFIX "ds1621"

#define SENSORS_DS1621_TEMP 51 /* R */
#define SENSORS_DS1621_TEMP_HYST 52 /* RW */
#define SENSORS_DS1621_TEMP_OVER 53 /* RW */
#define SENSORS_DS1621_ALARMS 81 /* R */
#define SENSORS_DS1621_ENABLE 82 /* RW */
#define SENSORS_DS1621_CONTINUOUS 83 /* RW */
#define SENSORS_DS1621_POLARITY 84 /* RW */

/* ADM1024 chip */

#define SENSORS_ADM1024_PREFIX "adm1024"

#define SENSORS_ADM1024_IN0 1 /* R */
#define SENSORS_ADM1024_IN1 2 /* R */
#define SENSORS_ADM1024_IN2 3 /* R */
#define SENSORS_ADM1024_IN3 4 /* R */
#define SENSORS_ADM1024_IN4 5 /* R */
#define SENSORS_ADM1024_IN5 6 /* R */
#define SENSORS_ADM1024_IN0_MIN 11 /* RW */
#define SENSORS_ADM1024_IN1_MIN 12 /* RW */
#define SENSORS_ADM1024_IN2_MIN 13 /* RW */
#define SENSORS_ADM1024_IN3_MIN 14 /* RW */
#define SENSORS_ADM1024_IN4_MIN 15 /* RW */
#define SENSORS_ADM1024_IN5_MIN 16 /* RW */
#define SENSORS_ADM1024_IN0_MAX 21 /* RW */
#define SENSORS_ADM1024_IN1_MAX 22 /* RW */
#define SENSORS_ADM1024_IN2_MAX 23 /* RW */
#define SENSORS_ADM1024_IN3_MAX 24 /* RW */
#define SENSORS_ADM1024_IN4_MAX 25 /* RW */
#define SENSORS_ADM1024_IN5_MAX 26 /* RW */
#define SENSORS_ADM1024_FAN1 31 /* R */
#define SENSORS_ADM1024_FAN2 32 /* R */
#define SENSORS_ADM1024_FAN1_MIN 41 /* RW */
#define SENSORS_ADM1024_FAN2_MIN 42 /* RW */
#define SENSORS_ADM1024_TEMP 51 /* R */
#define SENSORS_ADM1024_TEMP1 52 /* R */
#define SENSORS_ADM1024_TEMP2 53 /* R */
#define SENSORS_ADM1024_TEMP_HYST 61 /* RW */
#define SENSORS_ADM1024_TEMP_OVER 62 /* RW */
#define SENSORS_ADM1024_TEMP1_HYST 63 /* RW */
#define SENSORS_ADM1024_TEMP1_OVER 64 /* RW */
#define SENSORS_ADM1024_TEMP2_HYST 65 /* RW */
#define SENSORS_ADM1024_TEMP2_OVER 66 /* RW */
#define SENSORS_ADM1024_VID 71 /* R */
#define SENSORS_ADM1024_FAN1_DIV 81 /* RW */
#define SENSORS_ADM1024_FAN2_DIV 82 /* RW */
#define SENSORS_ADM1024_ALARMS 91 /* R */
#define SENSORS_ADM1024_ANALOG_OUT 92 /* RW */

/* IT87xx chips */

#define SENSORS_IT87_PREFIX "it87"
#define SENSORS_IT8712_PREFIX "it8712"
#define SENSORS_IT8716_PREFIX "it8716"
#define SENSORS_IT8718_PREFIX "it8718"

#define SENSORS_IT87_IN0 1 /* R */
#define SENSORS_IT87_IN1 2 /* R */
#define SENSORS_IT87_IN2 3 /* R */
#define SENSORS_IT87_IN3 4 /* R */
#define SENSORS_IT87_IN4 5 /* R */
#define SENSORS_IT87_IN5 6 /* R */
#define SENSORS_IT87_IN6 7 /* R */
#define SENSORS_IT87_IN7 8 /* R */
#define SENSORS_IT87_IN8 9 /* R */
#define SENSORS_IT87_IN0_MIN 11 /* RW */
#define SENSORS_IT87_IN1_MIN 12 /* RW */
#define SENSORS_IT87_IN2_MIN 13 /* RW */
#define SENSORS_IT87_IN3_MIN 14 /* RW */
#define SENSORS_IT87_IN4_MIN 15 /* RW */
#define SENSORS_IT87_IN5_MIN 16 /* RW */
#define SENSORS_IT87_IN6_MIN 17 /* RW */
#define SENSORS_IT87_IN7_MIN 18 /* RW */
#define SENSORS_IT87_IN0_MAX 21 /* RW */
#define SENSORS_IT87_IN1_MAX 22 /* RW */
#define SENSORS_IT87_IN2_MAX 23 /* RW */
#define SENSORS_IT87_IN3_MAX 24 /* RW */
#define SENSORS_IT87_IN4_MAX 25 /* RW */
#define SENSORS_IT87_IN5_MAX 26 /* RW */
#define SENSORS_IT87_IN6_MAX 27 /* RW */
#define SENSORS_IT87_IN7_MAX 28 /* RW */
#define SENSORS_IT87_FAN1 31 /* R */
#define SENSORS_IT87_FAN2 32 /* R */
#define SENSORS_IT87_FAN3 33 /* R */
#define SENSORS_IT87_FAN1_MIN 41 /* RW */
#define SENSORS_IT87_FAN2_MIN 42 /* RW */
#define SENSORS_IT87_FAN3_MIN 43 /* RW */
#define SENSORS_IT87_TEMP1 51 /* R */
#define SENSORS_IT87_TEMP2 52 /* R */
#define SENSORS_IT87_TEMP3 53 /* R */
#define SENSORS_IT87_TEMP1_LOW 54 /* RW */
#define SENSORS_IT87_TEMP2_LOW 55 /* RW */
#define SENSORS_IT87_TEMP3_LOW 56 /* RW */
#define SENSORS_IT87_TEMP1_HIGH 57 /* RW */
#define SENSORS_IT87_TEMP2_HIGH 58 /* RW */
#define SENSORS_IT87_TEMP3_HIGH 59 /* RW */
#define SENSORS_IT87_VID 61 /* R */
#define SENSORS_IT87_FAN1_DIV 71 /* RW */
#define SENSORS_IT87_FAN2_DIV 72 /* RW */
#define SENSORS_IT87_FAN3_DIV 73 /* R (fan3 different) */
#define SENSORS_IT87_ALARMS_FAN 81 /* R */
#define SENSORS_IT87_ALARMS_VIN 82 /* R */
#define SENSORS_IT87_ALARMS_TEMP 83 /* R */
#define SENSORS_IT87_ALARMS 84 /* R */
#define SENSORS_IT87_SENS1 91 /* RW */
#define SENSORS_IT87_SENS2 92 /* RW */
#define SENSORS_IT87_SENS3 93 /* RW */


/* fsc poseidon chip */

#define SENSORS_FSCPOS_PREFIX "fscpos"

#define SENSORS_FSCPOS_REV 1 /* R */
#define SENSORS_FSCPOS_EVENT 2 /* R */
#define SENSORS_FSCPOS_CONTROL 3 /* RW */
#define SENSORS_FSCPOS_FAN1 4 /* R */
#define SENSORS_FSCPOS_FAN2 5 /* R */
#define SENSORS_FSCPOS_FAN3 6 /* R */
#define SENSORS_FSCPOS_FAN1_MIN 7 /* RW */
#define SENSORS_FSCPOS_FAN2_MIN 8 /* RW */
#define SENSORS_FSCPOS_FAN3_MIN 9 /* RW */
#define SENSORS_FSCPOS_FAN1_STATE 10 /* RW */
#define SENSORS_FSCPOS_FAN2_STATE 11 /* RW */
#define SENSORS_FSCPOS_FAN3_STATE 12 /* RW */
#define SENSORS_FSCPOS_FAN1_RIPPLE 13 /* RW */
#define SENSORS_FSCPOS_FAN2_RIPPLE 14 /* RW */
#define SENSORS_FSCPOS_FAN3_RIPPLE 15 /* RW */
#define SENSORS_FSCPOS_TEMP1 16 /* R */
#define SENSORS_FSCPOS_TEMP2 17 /* R */
#define SENSORS_FSCPOS_TEMP3 18 /* R */
#define SENSORS_FSCPOS_TEMP1_STATE 19 /* RW */
#define SENSORS_FSCPOS_TEMP2_STATE 20 /* RW */
#define SENSORS_FSCPOS_TEMP3_STATE 21 /* RW */
#define SENSORS_FSCPOS_VOLTAGE1 22 /* R */
#define SENSORS_FSCPOS_VOLTAGE2 23 /* R */
#define SENSORS_FSCPOS_VOLTAGE3 24 /* R */
#define SENSORS_FSCPOS_WDOG_PRESET 25/* RW */
#define SENSORS_FSCPOS_WDOG_STATE 26/* RW */
#define SENSORS_FSCPOS_WDOG_CONTROL 27/* RW */

/* fsc scylla chip */

#define SENSORS_FSCSCY_PREFIX "fscscy"

#define SENSORS_FSCSCY_REV 1 /* R */
#define SENSORS_FSCSCY_EVENT 2 /* R */
#define SENSORS_FSCSCY_CONTROL 3 /* RW */
#define SENSORS_FSCSCY_FAN1 4 /* R */
#define SENSORS_FSCSCY_FAN2 5 /* R */
#define SENSORS_FSCSCY_FAN3 6 /* R */
#define SENSORS_FSCSCY_FAN4 7 /* R */
#define SENSORS_FSCSCY_FAN5 8 /* R */
#define SENSORS_FSCSCY_FAN6 9 /* R */
#define SENSORS_FSCSCY_FAN1_MIN 10 /* RW */
#define SENSORS_FSCSCY_FAN2_MIN 11 /* RW */
#define SENSORS_FSCSCY_FAN3_MIN 12 /* RW */
#define SENSORS_FSCSCY_FAN4_MIN 13 /* RW */
#define SENSORS_FSCSCY_FAN5_MIN 14 /* RW */
#define SENSORS_FSCSCY_FAN6_MIN 15 /* RW */
#define SENSORS_FSCSCY_FAN1_STATE 16 /* RW */
#define SENSORS_FSCSCY_FAN2_STATE 17 /* RW */
#define SENSORS_FSCSCY_FAN3_STATE 18 /* RW */
#define SENSORS_FSCSCY_FAN4_STATE 19 /* RW */
#define SENSORS_FSCSCY_FAN5_STATE 20 /* RW */
#define SENSORS_FSCSCY_FAN6_STATE 21 /* RW */
#define SENSORS_FSCSCY_FAN1_RIPPLE 22 /* RW */
#define SENSORS_FSCSCY_FAN2_RIPPLE 23 /* RW */
#define SENSORS_FSCSCY_FAN3_RIPPLE 24 /* RW */
#define SENSORS_FSCSCY_FAN4_RIPPLE 25 /* RW */
#define SENSORS_FSCSCY_FAN5_RIPPLE 26 /* RW */
#define SENSORS_FSCSCY_FAN6_RIPPLE 27 /* RW */
#define SENSORS_FSCSCY_TEMP1 28 /* R */
#define SENSORS_FSCSCY_TEMP2 29 /* R */
#define SENSORS_FSCSCY_TEMP3 30 /* R */
#define SENSORS_FSCSCY_TEMP4 31 /* R */
#define SENSORS_FSCSCY_TEMP1_STATE 32 /* RW */
#define SENSORS_FSCSCY_TEMP2_STATE 33 /* RW */
#define SENSORS_FSCSCY_TEMP3_STATE 34 /* RW */
#define SENSORS_FSCSCY_TEMP4_STATE 35 /* RW */
#define SENSORS_FSCSCY_TEMP1_LIM 36 /* R */
#define SENSORS_FSCSCY_TEMP2_LIM 37 /* R */
#define SENSORS_FSCSCY_TEMP3_LIM 38 /* R */
#define SENSORS_FSCSCY_TEMP4_LIM 39 /* R */
#define SENSORS_FSCSCY_TEMP1_MIN 40 /* R */
#define SENSORS_FSCSCY_TEMP2_MIN 41 /* R */
#define SENSORS_FSCSCY_TEMP3_MIN 42 /* R */
#define SENSORS_FSCSCY_TEMP4_MIN 43 /* R */
#define SENSORS_FSCSCY_TEMP1_MAX 44 /* R */
#define SENSORS_FSCSCY_TEMP2_MAX 45 /* R */
#define SENSORS_FSCSCY_TEMP3_MAX 46 /* R */
#define SENSORS_FSCSCY_TEMP4_MAX 47 /* R */
#define SENSORS_FSCSCY_VOLTAGE1  48/* R */
#define SENSORS_FSCSCY_VOLTAGE2  49/* R */
#define SENSORS_FSCSCY_VOLTAGE3  50/* R */
#define SENSORS_FSCSCY_WDOG_PRESET  51 /* RW */
#define SENSORS_FSCSCY_WDOG_STATE   52 /* RW */
#define SENSORS_FSCSCY_WDOG_CONTROL 52 /* RW */

/* fsc hermes chip */

#define SENSORS_FSCHER_PREFIX "fscher"

#define SENSORS_FSCHER_REV 1 /* R */
#define SENSORS_FSCHER_EVENT 2 /* R */
#define SENSORS_FSCHER_CONTROL 3 /* RW */
#define SENSORS_FSCHER_FAN1 4 /* R */
#define SENSORS_FSCHER_FAN2 5 /* R */
#define SENSORS_FSCHER_FAN3 6 /* R */
#define SENSORS_FSCHER_PWM1 7 /* RW */
#define SENSORS_FSCHER_PWM2 8 /* RW */
#define SENSORS_FSCHER_PWM3 9 /* RW */
#define SENSORS_FSCHER_FAN1_STATE 10 /* RW */
#define SENSORS_FSCHER_FAN2_STATE 11 /* RW */
#define SENSORS_FSCHER_FAN3_STATE 12 /* RW */
#define SENSORS_FSCHER_FAN1_RIPPLE 13 /* RW */
#define SENSORS_FSCHER_FAN2_RIPPLE 14 /* RW */
#define SENSORS_FSCHER_FAN3_RIPPLE 15 /* RW */
#define SENSORS_FSCHER_TEMP1 16 /* R */
#define SENSORS_FSCHER_TEMP2 17 /* R */
#define SENSORS_FSCHER_TEMP3 18 /* R */
#define SENSORS_FSCHER_TEMP1_STATE 19 /* RW */
#define SENSORS_FSCHER_TEMP2_STATE 20 /* RW */
#define SENSORS_FSCHER_TEMP3_STATE 21 /* RW */
#define SENSORS_FSCHER_VOLTAGE1 22 /* R */
#define SENSORS_FSCHER_VOLTAGE2 23 /* R */
#define SENSORS_FSCHER_VOLTAGE3 24 /* R */
#define SENSORS_FSCHER_WDOG_PRESET 25/* RW */
#define SENSORS_FSCHER_WDOG_STATE 26/* RW */
#define SENSORS_FSCHER_WDOG_CONTROL 27/* RW */

/* PCF8591 chip. */

#define SENSORS_PCF8591_PREFIX "pcf8591"

#define SENSORS_PCF8591_AIN_CONF 1 /* RW */
#define SENSORS_PCF8591_CH0 2 /* R */
#define SENSORS_PCF8591_CH1 3 /* R */
#define SENSORS_PCF8591_CH2 4 /* R */
#define SENSORS_PCF8591_CH3 5 /* R */
#define SENSORS_PCF8591_AOUT_ENABLE 6 /* RW */
#define SENSORS_PCF8591_AOUT 7 /* RW */


#define SENSORS_VT1211_PREFIX "vt1211"

#define SENSORS_VT1211_IN0 1 /* R */
#define SENSORS_VT1211_IN1 2 /* R */
#define SENSORS_VT1211_IN2 3 /* R */
#define SENSORS_VT1211_IN3 4 /* R */
#define SENSORS_VT1211_IN4 5 /* R */
#define SENSORS_VT1211_IN5 6 /* R */
#define SENSORS_VT1211_IN0_MIN 11 /* RW */
#define SENSORS_VT1211_IN1_MIN 12 /* RW */
#define SENSORS_VT1211_IN2_MIN 13 /* RW */
#define SENSORS_VT1211_IN3_MIN 14 /* RW */
#define SENSORS_VT1211_IN4_MIN 15 /* RW */
#define SENSORS_VT1211_IN5_MIN 16 /* RW */
#define SENSORS_VT1211_IN0_MAX 21 /* RW */
#define SENSORS_VT1211_IN1_MAX 22 /* RW */
#define SENSORS_VT1211_IN2_MAX 23 /* RW */
#define SENSORS_VT1211_IN3_MAX 24 /* RW */
#define SENSORS_VT1211_IN4_MAX 25 /* RW */
#define SENSORS_VT1211_IN5_MAX 26 /* RW */
#define SENSORS_VT1211_FAN1 31 /* R */
#define SENSORS_VT1211_FAN2 32 /* R */
#define SENSORS_VT1211_FAN1_MIN 41 /* RW */
#define SENSORS_VT1211_FAN2_MIN 42 /* RW */
#define SENSORS_VT1211_TEMP1 51 /* R */
#define SENSORS_VT1211_TEMP1_HYST 52 /* RW */
#define SENSORS_VT1211_TEMP1_OVER 53 /* RW */
#define SENSORS_VT1211_TEMP2 54 /* R */
#define SENSORS_VT1211_TEMP2_HYST 55 /* RW */
#define SENSORS_VT1211_TEMP2_OVER 56 /* RW */
#define SENSORS_VT1211_TEMP3 57 /* R */
#define SENSORS_VT1211_TEMP3_HYST 58 /* RW */
#define SENSORS_VT1211_TEMP3_OVER 59 /* RW */
#define SENSORS_VT1211_TEMP4 60 /* R */
#define SENSORS_VT1211_TEMP4_HYST 61 /* RW */
#define SENSORS_VT1211_TEMP4_OVER 62 /* RW */
#define SENSORS_VT1211_TEMP5 63 /* R */
#define SENSORS_VT1211_TEMP5_HYST 64 /* RW */
#define SENSORS_VT1211_TEMP5_OVER 65 /* RW */
#define SENSORS_VT1211_TEMP6 66 /* R */
#define SENSORS_VT1211_TEMP6_HYST 67 /* RW */
#define SENSORS_VT1211_TEMP6_OVER 68 /* RW */
#define SENSORS_VT1211_TEMP7 69 /* R */
#define SENSORS_VT1211_TEMP7_HYST 70 /* RW */
#define SENSORS_VT1211_TEMP7_OVER 71 /* RW */
#define SENSORS_VT1211_FAN1_DIV 75 /* RW */
#define SENSORS_VT1211_FAN2_DIV 76 /* RW */
#define SENSORS_VT1211_ALARMS 81 /* R */
#define SENSORS_VT1211_VID 82 /* R */
#define SENSORS_VT1211_VRM 83 /* RW */
#define SENSORS_VT1211_UCH 84 /* RW */

#define SENSORS_SMSC47M1_PREFIX "smsc47m1"

#define SENSORS_SMSC47M1_FAN1 31 /* R */
#define SENSORS_SMSC47M1_FAN2 32 /* R */
#define SENSORS_SMSC47M1_FAN1_MIN 41 /* RW */
#define SENSORS_SMSC47M1_FAN2_MIN 42 /* RW */
#define SENSORS_SMSC47M1_FAN1_DIV 75 /* RW */
#define SENSORS_SMSC47M1_FAN2_DIV 76 /* RW */
#define SENSORS_SMSC47M1_ALARMS 81 /* R */

#define SENSORS_SMSC47M192_PREFIX "smsc47m192"

#define SENSORS_SMSC47M192_IN(n)		(1 + (n))	/* R */
#define SENSORS_SMSC47M192_IN_MIN(n)		(21 + (n))	/* RW */
#define SENSORS_SMSC47M192_IN_MAX(n)		(41 + (n))	/* RW */
#define SENSORS_SMSC47M192_IN_ALARM(n)		(61 + (n))	/* R */
#define SENSORS_SMSC47M192_TEMP(n)		(100 + (n))	/* R */
#define SENSORS_SMSC47M192_TEMP_MAX(n)		(120 + (n))	/* RW */
#define SENSORS_SMSC47M192_TEMP_MIN(n)		(140 + (n))	/* RW */
#define SENSORS_SMSC47M192_TEMP_OFFSET(n)	(160 + (n))	/* RW */
#define SENSORS_SMSC47M192_TEMP_ALARM(n)	(180 + (n))	/* R */
#define SENSORS_SMSC47M192_TEMP_FAULT(n)	(200 + (n))	/* R */
#define SENSORS_SMSC47M192_VID			301		/* R */
#define SENSORS_SMSC47M192_VRM			302		/* RW */

#define SENSORS_PC87360_PREFIX "pc87360"
#define SENSORS_PC87363_PREFIX "pc87363"
#define SENSORS_PC87364_PREFIX "pc87364"
#define SENSORS_PC87365_PREFIX "pc87365"
#define SENSORS_PC87366_PREFIX "pc87366"

#define SENSORS_PC87360_ALARMS_IN	10	/* R */
#define SENSORS_PC87360_ALARMS_TEMP	11	/* R */

#define SENSORS_PC87360_FAN1		31	/* R */
#define SENSORS_PC87360_FAN2		32	/* R */
#define SENSORS_PC87360_FAN3		33	/* R */
#define SENSORS_PC87360_FAN1_MIN	41	/* RW */
#define SENSORS_PC87360_FAN2_MIN	42	/* RW */
#define SENSORS_PC87360_FAN3_MIN	43	/* RW */
#define SENSORS_PC87360_FAN1_DIV	71	/* R */
#define SENSORS_PC87360_FAN2_DIV	72	/* R */
#define SENSORS_PC87360_FAN3_DIV	73	/* R */
#define SENSORS_PC87360_FAN1_STATUS	81	/* R */
#define SENSORS_PC87360_FAN2_STATUS	82	/* R */
#define SENSORS_PC87360_FAN3_STATUS	83	/* R */

#define SENSORS_PC87360_IN0		90	/* R */
#define SENSORS_PC87360_IN1		91	/* R */
#define SENSORS_PC87360_IN2		92	/* R */
#define SENSORS_PC87360_IN3		93	/* R */
#define SENSORS_PC87360_IN4		94	/* R */
#define SENSORS_PC87360_IN5		95	/* R */
#define SENSORS_PC87360_IN6		96	/* R */
#define SENSORS_PC87360_IN7		97	/* R */
#define SENSORS_PC87360_IN8		98	/* R */
#define SENSORS_PC87360_IN9		99	/* R */
#define SENSORS_PC87360_IN10		100	/* R */
#define SENSORS_PC87360_IN0_MIN		110	/* RW */
#define SENSORS_PC87360_IN1_MIN		111	/* RW */
#define SENSORS_PC87360_IN2_MIN		112	/* RW */
#define SENSORS_PC87360_IN3_MIN		113	/* RW */
#define SENSORS_PC87360_IN4_MIN		114	/* RW */
#define SENSORS_PC87360_IN5_MIN		115	/* RW */
#define SENSORS_PC87360_IN6_MIN		116	/* RW */
#define SENSORS_PC87360_IN7_MIN		117	/* RW */
#define SENSORS_PC87360_IN8_MIN		118	/* RW */
#define SENSORS_PC87360_IN9_MIN		119	/* RW */
#define SENSORS_PC87360_IN10_MIN	120	/* RW */
#define SENSORS_PC87360_IN0_MAX		130	/* RW */
#define SENSORS_PC87360_IN1_MAX		131	/* RW */
#define SENSORS_PC87360_IN2_MAX		132	/* RW */
#define SENSORS_PC87360_IN3_MAX		133	/* RW */
#define SENSORS_PC87360_IN4_MAX		134	/* RW */
#define SENSORS_PC87360_IN5_MAX		135	/* RW */
#define SENSORS_PC87360_IN6_MAX		136	/* RW */
#define SENSORS_PC87360_IN7_MAX		137	/* RW */
#define SENSORS_PC87360_IN8_MAX		138	/* RW */
#define SENSORS_PC87360_IN9_MAX		139	/* RW */
#define SENSORS_PC87360_IN10_MAX	140	/* RW */
#define SENSORS_PC87360_IN0_STATUS	150	/* R */
#define SENSORS_PC87360_IN1_STATUS	151	/* R */
#define SENSORS_PC87360_IN2_STATUS	152	/* R */
#define SENSORS_PC87360_IN3_STATUS	153	/* R */
#define SENSORS_PC87360_IN4_STATUS	154	/* R */
#define SENSORS_PC87360_IN5_STATUS	155	/* R */
#define SENSORS_PC87360_IN6_STATUS	156	/* R */
#define SENSORS_PC87360_IN7_STATUS	157	/* R */
#define SENSORS_PC87360_IN8_STATUS	158	/* R */
#define SENSORS_PC87360_IN9_STATUS	159	/* R */
#define SENSORS_PC87360_IN10_STATUS	160	/* R */

#define SENSORS_PC87360_TEMP1		171	/* R */
#define SENSORS_PC87360_TEMP2		172	/* R */
#define SENSORS_PC87360_TEMP3		173	/* R */
#define SENSORS_PC87360_TEMP4		174	/* R */
#define SENSORS_PC87360_TEMP5		175	/* R */
#define SENSORS_PC87360_TEMP6		176	/* R */
#define SENSORS_PC87360_TEMP1_MIN	181	/* RW */
#define SENSORS_PC87360_TEMP2_MIN	182	/* RW */
#define SENSORS_PC87360_TEMP3_MIN	183	/* RW */
#define SENSORS_PC87360_TEMP4_MIN	184	/* RW */
#define SENSORS_PC87360_TEMP5_MIN	185	/* RW */
#define SENSORS_PC87360_TEMP6_MIN	186	/* RW */
#define SENSORS_PC87360_TEMP1_MAX	191	/* RW */
#define SENSORS_PC87360_TEMP2_MAX	192	/* RW */
#define SENSORS_PC87360_TEMP3_MAX	193	/* RW */
#define SENSORS_PC87360_TEMP4_MAX	194	/* RW */
#define SENSORS_PC87360_TEMP5_MAX	195	/* RW */
#define SENSORS_PC87360_TEMP6_MAX	196	/* RW */
#define SENSORS_PC87360_TEMP1_CRIT	201	/* RW */
#define SENSORS_PC87360_TEMP2_CRIT	202	/* RW */
#define SENSORS_PC87360_TEMP3_CRIT	203	/* RW */
#define SENSORS_PC87360_TEMP4_CRIT	204	/* RW */
#define SENSORS_PC87360_TEMP5_CRIT	205	/* RW */
#define SENSORS_PC87360_TEMP6_CRIT	206	/* RW */
#define SENSORS_PC87360_TEMP1_STATUS	211	/* R */
#define SENSORS_PC87360_TEMP2_STATUS	212	/* R */
#define SENSORS_PC87360_TEMP3_STATUS	213	/* R */
#define SENSORS_PC87360_TEMP4_STATUS	214	/* R */
#define SENSORS_PC87360_TEMP5_STATUS	215	/* R */
#define SENSORS_PC87360_TEMP6_STATUS	216	/* R */

#define SENSORS_PC87360_VID		240	/* R */
#define SENSORS_PC87360_VRM		241	/* RW */

#define SENSORS_LM92_PREFIX "lm92"

#define SENSORS_LM92_TEMP_HIGH		1	/* RW */
#define SENSORS_LM92_TEMP_LOW		2	/* RW */
#define SENSORS_LM92_TEMP_CRIT		3	/* RW */
#define SENSORS_LM92_TEMP_HYST		4	/* RW */
#define SENSORS_LM92_TEMP			5	/* R */
#define SENSORS_LM92_ALARMS			6	/* R */

#define SENSORS_VT8231_PREFIX "vt8231"

#define SENSORS_VT8231_IN0 1 /* R */
#define SENSORS_VT8231_IN1 2 /* R */
#define SENSORS_VT8231_IN2 3 /* R */
#define SENSORS_VT8231_IN3 4 /* R */
#define SENSORS_VT8231_IN4 5 /* R */
#define SENSORS_VT8231_IN5 6 /* R */
#define SENSORS_VT8231_IN0_MIN 11 /* RW */
#define SENSORS_VT8231_IN1_MIN 12 /* RW */
#define SENSORS_VT8231_IN2_MIN 13 /* RW */
#define SENSORS_VT8231_IN3_MIN 14 /* RW */
#define SENSORS_VT8231_IN4_MIN 15 /* RW */
#define SENSORS_VT8231_IN5_MIN 16 /* RW */
#define SENSORS_VT8231_IN0_MAX 21 /* RW */
#define SENSORS_VT8231_IN1_MAX 22 /* RW */
#define SENSORS_VT8231_IN2_MAX 23 /* RW */
#define SENSORS_VT8231_IN3_MAX 24 /* RW */
#define SENSORS_VT8231_IN4_MAX 25 /* RW */
#define SENSORS_VT8231_IN5_MAX 26 /* RW */
#define SENSORS_VT8231_FAN1 31 /* R */
#define SENSORS_VT8231_FAN2 32 /* R */
#define SENSORS_VT8231_FAN1_MIN 41 /* RW */
#define SENSORS_VT8231_FAN2_MIN 42 /* RW */
#define SENSORS_VT8231_TEMP 51 /* R */
#define SENSORS_VT8231_TEMP_HYST 52 /* RW */
#define SENSORS_VT8231_TEMP_OVER 53 /* RW */
#define SENSORS_VT8231_TEMP2 54 /* R */
#define SENSORS_VT8231_TEMP2_HYST 55 /* RW */
#define SENSORS_VT8231_TEMP2_OVER 56 /* RW */
#define SENSORS_VT8231_TEMP3 57 /* R */
#define SENSORS_VT8231_TEMP3_HYST 58 /* RW */
#define SENSORS_VT8231_TEMP3_OVER 59 /* RW */
#define SENSORS_VT8231_TEMP4 60 /* R */
#define SENSORS_VT8231_TEMP4_HYST 61 /* RW */
#define SENSORS_VT8231_TEMP4_OVER 62 /* RW */
#define SENSORS_VT8231_TEMP5 63 /* R */
#define SENSORS_VT8231_TEMP5_HYST 64 /* RW */
#define SENSORS_VT8231_TEMP5_OVER 65 /* RW */
#define SENSORS_VT8231_TEMP6 66 /* R */
#define SENSORS_VT8231_TEMP6_HYST 67 /* RW */
#define SENSORS_VT8231_TEMP6_OVER 68 /* RW */
#define SENSORS_VT8231_FAN1_DIV 75 /* RW */
#define SENSORS_VT8231_FAN2_DIV 76 /* RW */
#define SENSORS_VT8231_ALARMS 81 /* R */
#define SENSORS_VT8231_VID 82 /* R */
#define SENSORS_VT8231_VRM 83 /* RW */
#define SENSORS_VT8231_UCH 84 /* RW */

#define SENSORS_BMC_PREFIX "bmc"

/* quantity of each sensor is unknown, so just define the
   first one of each and keep them 100 apart. */
#define SENSORS_BMC_ALARMS 1 /* R */
#define SENSORS_BMC_IN1 101 /* R */
#define SENSORS_BMC_IN1_MIN 201 /* RW */
#define SENSORS_BMC_IN1_MAX 301 /* RW */
#define SENSORS_BMC_FAN1 1001 /* R */
#define SENSORS_BMC_FAN1_MIN 1101 /* RW */
#define SENSORS_BMC_TEMP1 2001 /* R */
#define SENSORS_BMC_TEMP1_MIN 2101 /* RW */
#define SENSORS_BMC_TEMP1_MAX 2201 /* RW */
#define SENSORS_BMC_CURR1 3001 /* R */
#define SENSORS_BMC_CURR1_MIN 3101 /* RW */
#define SENSORS_BMC_CURR1_MAX 3201 /* RW */

#define SENSORS_LM93_PREFIX "lm93"

#define SENSORS_LM93_IN1		1011
#define SENSORS_LM93_IN1_MIN		1012
#define SENSORS_LM93_IN1_MAX		1013
#define SENSORS_LM93_IN2		1021
#define SENSORS_LM93_IN2_MIN		1022
#define SENSORS_LM93_IN2_MAX		1023
#define SENSORS_LM93_IN3		1031
#define SENSORS_LM93_IN3_MIN		1032
#define SENSORS_LM93_IN3_MAX		1033
#define SENSORS_LM93_IN4		1041
#define SENSORS_LM93_IN4_MIN		1042
#define SENSORS_LM93_IN4_MAX		1043
#define SENSORS_LM93_IN5		1051
#define SENSORS_LM93_IN5_MIN		1052
#define SENSORS_LM93_IN5_MAX		1053
#define SENSORS_LM93_IN6		1061
#define SENSORS_LM93_IN6_MIN		1062
#define SENSORS_LM93_IN6_MAX		1063
#define SENSORS_LM93_IN7		1071
#define SENSORS_LM93_IN7_MIN		1072
#define SENSORS_LM93_IN7_MAX		1073
#define SENSORS_LM93_IN8		1081
#define SENSORS_LM93_IN8_MIN		1082
#define SENSORS_LM93_IN8_MAX		1083
#define SENSORS_LM93_IN9		1091
#define SENSORS_LM93_IN9_MIN		1092
#define SENSORS_LM93_IN9_MAX		1093
#define SENSORS_LM93_IN10		1101
#define SENSORS_LM93_IN10_MIN		1102
#define SENSORS_LM93_IN10_MAX		1103
#define SENSORS_LM93_IN11		1111
#define SENSORS_LM93_IN11_MIN		1112
#define SENSORS_LM93_IN11_MAX		1113
#define SENSORS_LM93_IN12		1121
#define SENSORS_LM93_IN12_MIN		1122
#define SENSORS_LM93_IN12_MAX		1123
#define SENSORS_LM93_IN13		1131
#define SENSORS_LM93_IN13_MIN		1132
#define SENSORS_LM93_IN13_MAX		1133
#define SENSORS_LM93_IN14		1141
#define SENSORS_LM93_IN14_MIN		1142
#define SENSORS_LM93_IN14_MAX		1143
#define SENSORS_LM93_IN15		1151
#define SENSORS_LM93_IN15_MIN		1152
#define SENSORS_LM93_IN15_MAX		1153
#define SENSORS_LM93_IN16		1161
#define SENSORS_LM93_IN16_MIN		1162
#define SENSORS_LM93_IN16_MAX		1163
#define SENSORS_LM93_TEMP1		2011
#define SENSORS_LM93_TEMP1_MIN		2012
#define SENSORS_LM93_TEMP1_MAX		2013
#define SENSORS_LM93_TEMP2		2021
#define SENSORS_LM93_TEMP2_MIN		2022
#define SENSORS_LM93_TEMP2_MAX		2023
#define SENSORS_LM93_TEMP3		2031
#define SENSORS_LM93_TEMP3_MIN		2032
#define SENSORS_LM93_TEMP3_MAX		2033
#define SENSORS_LM93_FAN1		3011
#define SENSORS_LM93_FAN1_MIN		3012
#define SENSORS_LM93_FAN2		3021
#define SENSORS_LM93_FAN2_MIN		3022
#define SENSORS_LM93_FAN3		3031
#define SENSORS_LM93_FAN3_MIN		3032
#define SENSORS_LM93_FAN4		3041
#define SENSORS_LM93_FAN4_MIN		3042
#define SENSORS_LM93_VID1		4001
#define SENSORS_LM93_VID2		4002
#define SENSORS_LM93_ALARMS		5001

#define SENSORS_ASB100_PREFIX "asb100"

#define SENSORS_ASB100_IN0		0x01 /* R */
#define SENSORS_ASB100_IN1		0x02 /* R */
#define SENSORS_ASB100_IN2		0x03 /* R */
#define SENSORS_ASB100_IN3		0x04 /* R */
#define SENSORS_ASB100_IN4		0x05 /* R */
#define SENSORS_ASB100_IN5		0x06 /* R */
#define SENSORS_ASB100_IN6		0x07 /* R */
#define SENSORS_ASB100_IN0_MIN		0x11 /* RW */
#define SENSORS_ASB100_IN1_MIN		0x12 /* RW */
#define SENSORS_ASB100_IN2_MIN		0x13 /* RW */
#define SENSORS_ASB100_IN3_MIN		0x14 /* RW */
#define SENSORS_ASB100_IN4_MIN		0x15 /* RW */
#define SENSORS_ASB100_IN5_MIN		0x16 /* RW */
#define SENSORS_ASB100_IN6_MIN		0x17 /* RW */
#define SENSORS_ASB100_IN0_MAX		0x21 /* RW */
#define SENSORS_ASB100_IN1_MAX		0x22 /* RW */
#define SENSORS_ASB100_IN2_MAX		0x23 /* RW */
#define SENSORS_ASB100_IN3_MAX		0x24 /* RW */
#define SENSORS_ASB100_IN4_MAX		0x25 /* RW */
#define SENSORS_ASB100_IN5_MAX		0x26 /* RW */
#define SENSORS_ASB100_IN6_MAX		0x27 /* RW */
#define SENSORS_ASB100_FAN1		0x31 /* R */
#define SENSORS_ASB100_FAN2		0x32 /* R */
#define SENSORS_ASB100_FAN3		0x33 /* R */
#define SENSORS_ASB100_FAN1_MIN		0x41 /* RW */
#define SENSORS_ASB100_FAN2_MIN		0x42 /* RW */
#define SENSORS_ASB100_FAN3_MIN		0x43 /* RW */
#define SENSORS_ASB100_TEMP1		0x51 /* R */
#define SENSORS_ASB100_TEMP1_HYST	0x52 /* RW */
#define SENSORS_ASB100_TEMP1_OVER	0x53 /* RW */
#define SENSORS_ASB100_TEMP2		0x54 /* R */
#define SENSORS_ASB100_TEMP2_HYST	0x55 /* RW */
#define SENSORS_ASB100_TEMP2_OVER	0x56 /* RW */
#define SENSORS_ASB100_TEMP3		0x57 /* R */
#define SENSORS_ASB100_TEMP3_HYST	0x58 /* RW */
#define SENSORS_ASB100_TEMP3_OVER	0x59 /* RW */
#define SENSORS_ASB100_TEMP4		0x5a /* R */
#define SENSORS_ASB100_TEMP4_HYST	0x5b /* RW */
#define SENSORS_ASB100_TEMP4_OVER	0x5c /* RW */
#define SENSORS_ASB100_VID		0x61 /* R */
#define SENSORS_ASB100_VRM		0x62 /* RW */
#define SENSORS_ASB100_FAN1_DIV		0x71 /* RW */
#define SENSORS_ASB100_FAN2_DIV		0x72 /* RW */
#define SENSORS_ASB100_FAN3_DIV		0x73 /* RW */
#define SENSORS_ASB100_ALARMS		0x81 /* R */
#define SENSORS_ASB100_BEEP_ENABLE	0x82 /* RW */
#define SENSORS_ASB100_BEEPS		0x83 /* RW */

#define SENSORS_XEONTEMP_PREFIX "xeontemp"

#define SENSORS_XEONTEMP_REMOTE_TEMP 54 /* R */
#define SENSORS_XEONTEMP_REMOTE_TEMP_HYST 55 /* RW */
#define SENSORS_XEONTEMP_REMOTE_TEMP_OVER 56 /* RW */
#define SENSORS_XEONTEMP_ALARMS 81 /* R */

/* MAX1619 chip */

#define SENSORS_MAX1619_PREFIX "max1619"

#define SENSORS_MAX1619_LOCAL_TEMP      51      /* R */
#define SENSORS_MAX1619_REMOTE_TEMP     52      /* R */
#define SENSORS_MAX1619_REMOTE_LOW      53      /* RW */
#define SENSORS_MAX1619_REMOTE_HIGH     54      /* RW */
#define SENSORS_MAX1619_REMOTE_MAX      55      /* RW */
#define SENSORS_MAX1619_REMOTE_HYST     56      /* RW */
#define SENSORS_MAX1619_ALARMS          81      /* R */

/* MAX6650 / 1 chips */

#define SENSORS_MAX6650_PREFIX "max6650"

#define SENSORS_MAX6650_FAN1_TACH  1 /* R */
#define SENSORS_MAX6650_FAN2_TACH  2 /* R */
#define SENSORS_MAX6650_FAN3_TACH  3 /* R */
#define SENSORS_MAX6650_FAN4_TACH  4 /* R */
#define SENSORS_MAX6650_SPEED      5 /* RW */

/* SMSC47B397-NC chip */
#define SENSORS_SMSC47B397_PREFIX "smsc47b397"

#define SENSORS_SMSC47B397_TEMP1	0x01 /* R */
#define SENSORS_SMSC47B397_TEMP2	0x02 /* R */
#define SENSORS_SMSC47B397_TEMP3	0x03 /* R */
#define SENSORS_SMSC47B397_TEMP4	0x04 /* R */
#define SENSORS_SMSC47B397_FAN1		0x11 /* R */
#define SENSORS_SMSC47B397_FAN2		0x12 /* R */
#define SENSORS_SMSC47B397_FAN3		0x13 /* R */
#define SENSORS_SMSC47B397_FAN4		0x14 /* R */

/* Fintek F71805F chip */
#define SENSORS_F71805F_PREFIX		"f71805f"

/* in n from 0 to 8 */
#define SENSORS_F71805F_IN(n)		(1 + (n))
#define SENSORS_F71805F_IN_MIN(n)	(16 + (n))
#define SENSORS_F71805F_IN_MAX(n)	(31 + (n))
/* fan n from 1 to 3 */
#define SENSORS_F71805F_FAN(n)		(50 + (n))
#define SENSORS_F71805F_FAN_MIN(n)	(60 + (n))
/* temp n from 1 to 3 */
#define SENSORS_F71805F_TEMP(n)		(80 + (n))
#define SENSORS_F71805F_TEMP_MAX(n)	(90 + (n))
#define SENSORS_F71805F_TEMP_HYST(n)	(100 + (n))
#define SENSORS_F71805F_TEMP_TYPE(n)	(110 + (n))
/* alarms */
#define SENSORS_F71805F_ALARMS_IN	200
#define SENSORS_F71805F_ALARMS_FAN	201
#define SENSORS_F71805F_ALARMS_TEMP	202

/* Abit uGuru chip */
#define SENSORS_ABITUGURU_PREFIX "abituguru"

/* in n from 0 to 10 */
#define SENSORS_ABITUGURU_IN(n)			(0x01 + (n)) /* R */
#define SENSORS_ABITUGURU_IN_MIN(n)		(0x11 + (n)) /* RW */
#define SENSORS_ABITUGURU_IN_MIN_ALARM(n)	(0x21 + (n)) /* R */
#define SENSORS_ABITUGURU_IN_MAX(n)		(0x31 + (n)) /* RW */
#define SENSORS_ABITUGURU_IN_MAX_ALARM(n)	(0x41 + (n)) /* R */
/* temp n from 1 to 7 */
#define SENSORS_ABITUGURU_TEMP(n)		(0x50 + (n)) /* R */
#define SENSORS_ABITUGURU_TEMP_ALARM(n)		(0x60 + (n)) /* R */
#define SENSORS_ABITUGURU_TEMP_MAX(n)		(0x70 + (n)) /* RW */
#define SENSORS_ABITUGURU_TEMP_CRIT(n)		(0x80 + (n)) /* RW */
/* fan n from 1 to 6 */
#define SENSORS_ABITUGURU_FAN(n)		(0x90 + (n)) /* R */
#define SENSORS_ABITUGURU_FAN_ALARM(n)		(0xA0 + (n)) /* R */
#define SENSORS_ABITUGURU_FAN_MIN(n)		(0xB0 + (n)) /* RW */

/* K8TEMP */
#define SENSORS_K8TEMP_PREFIX "k8temp"
#define SENSORS_K8TEMP_TEMP1	0x01 /* R */
#define SENSORS_K8TEMP_TEMP2	0x02 /* R */
#define SENSORS_K8TEMP_TEMP3	0x03 /* R */
#define SENSORS_K8TEMP_TEMP4	0x04 /* R */

#endif /* def LIB_SENSORS_CHIPS_H */