aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/max1617.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/sbus/char/max1617.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/sbus/char/max1617.h')
-rw-r--r--drivers/sbus/char/max1617.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/sbus/char/max1617.h b/drivers/sbus/char/max1617.h
new file mode 100644
index 000000000000..0bb09c286cb4
--- /dev/null
+++ b/drivers/sbus/char/max1617.h
@@ -0,0 +1,27 @@
1/* $Id: max1617.h,v 1.1 2001/04/02 09:59:08 davem Exp $ */
2#ifndef _MAX1617_H
3#define _MAX1617_H
4
5#define MAX1617_AMB_TEMP 0x00 /* Ambient temp in C */
6#define MAX1617_CPU_TEMP 0x01 /* Processor die temp in C */
7#define MAX1617_STATUS 0x02 /* Chip status bits */
8
9/* Read-only versions of changable registers. */
10#define MAX1617_RD_CFG_BYTE 0x03 /* Config register */
11#define MAX1617_RD_CVRATE_BYTE 0x04 /* Temp conversion rate */
12#define MAX1617_RD_AMB_HIGHLIM 0x05 /* Ambient high limit */
13#define MAX1617_RD_AMB_LOWLIM 0x06 /* Ambient low limit */
14#define MAX1617_RD_CPU_HIGHLIM 0x07 /* Processor high limit */
15#define MAX1617_RD_CPU_LOWLIM 0x08 /* Processor low limit */
16
17/* Write-only versions of the same. */
18#define MAX1617_WR_CFG_BYTE 0x09
19#define MAX1617_WR_CVRATE_BYTE 0x0a
20#define MAX1617_WR_AMB_HIGHLIM 0x0b
21#define MAX1617_WR_AMB_LOWLIM 0x0c
22#define MAX1617_WR_CPU_HIGHLIM 0x0d
23#define MAX1617_WR_CPU_LOWLIM 0x0e
24
25#define MAX1617_ONESHOT 0x0f
26
27#endif /* _MAX1617_H */