Commit 64fe38f4 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

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

Define this register and its bits.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 658441b4
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment