staging: comedi: s526: define the miscellaneous register and bits

Define this register and its bits.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
H Hartley Sweeten
2015-08-17 16:58:19 -07:00
committed by Greg Kroah-Hartman
parent 658441b48c
commit 64fe38f49c

View File

@@ -83,8 +83,8 @@
#define S526_INT_AI BIT(2)
#define S526_INT_AO BIT(1)
#define S526_INT_TIMER BIT(0)
#define REG_MSC 0x10
#define S526_MISC_REG 0x10
#define S526_MISC_LED_OFF BIT(0)
#define S526_GPCT_LSB_REG(x) (0x12 + ((x) * 8))
#define S526_GPCT_MSB_REG(x) (0x14 + ((x) * 8))
#define S526_GPCT_MODE_REG(x) (0x16 + ((x) * 8))