Commit 3390ed32 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_at_ao: tidy up the STATUS register defines

Rename the defines for the STATUS register so they have namespace
associated with the driver.
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 c8d348d4
...@@ -110,14 +110,14 @@ Configuration options: ...@@ -110,14 +110,14 @@ Configuration options:
#define ATAO_CFG1_DMARQ (1 << 5) #define ATAO_CFG1_DMARQ (1 << 5)
#define ATAO_CFG1_DMAEN (1 << 4) #define ATAO_CFG1_DMAEN (1 << 4)
#define ATAO_CFG1_CH(x) (((x) & 0xf) << 0) #define ATAO_CFG1_CH(x) (((x) & 0xf) << 0)
#define ATAO_STATUS 0x0a /* R 16 */ #define ATAO_STATUS_REG 0x0a
#define FH (1 << 6) #define ATAO_STATUS_FH (1 << 6)
#define FE (1 << 5) #define ATAO_STATUS_FE (1 << 5)
#define FF (1 << 4) #define ATAO_STATUS_FF (1 << 4)
#define INT2 (1 << 3) #define ATAO_STATUS_INT2 (1 << 3)
#define INT1 (1 << 2) #define ATAO_STATUS_INT1 (1 << 2)
#define TCINT (1 << 1) #define ATAO_STATUS_TCINT (1 << 1)
#define PROMOUT (1 << 0) #define ATAO_STATUS_PROMOUT (1 << 0)
#define ATAO_FIFO_WRITE 0x0c /* W 16 */ #define ATAO_FIFO_WRITE 0x0c /* W 16 */
#define ATAO_FIFO_CLEAR 0x0c /* R 16 */ #define ATAO_FIFO_CLEAR 0x0c /* R 16 */
#define ATAO_DACn(x) (0x0c + ((x) * 2)) /* W */ #define ATAO_DACn(x) (0x0c + ((x) * 2)) /* W */
......
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