Commit 242311d1 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_660x: sort enum ni_660x_register

Sort this enum so that it has a 1:1 relationship with the ni_tio.h
enum ni_gpct_register.
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 515b5e6b
......@@ -43,78 +43,79 @@
/* See Register-Level Programmer Manual page 3.1 */
enum ni_660x_register {
NI660X_G0_INT_ACK,
NI660X_G0_STATUS,
NI660X_G1_INT_ACK,
NI660X_G1_STATUS,
NI660X_G01_STATUS,
NI660X_G0_AUTO_INC,
NI660X_G1_AUTO_INC,
NI660X_G2_AUTO_INC,
NI660X_G3_AUTO_INC,
NI660X_G0_CMD,
NI660X_STC_DIO_PARALLEL_INPUT,
NI660X_G1_CMD,
NI660X_G2_CMD,
NI660X_G3_CMD,
NI660X_G0_HW_SAVE,
NI660X_G1_HW_SAVE,
NI660X_STC_DIO_OUTPUT,
NI660X_STC_DIO_CONTROL,
NI660X_G2_HW_SAVE,
NI660X_G3_HW_SAVE,
NI660X_G0_SW_SAVE,
NI660X_G1_SW_SAVE,
NI660X_G2_SW_SAVE,
NI660X_G3_SW_SAVE,
NI660X_G0_MODE,
NI660X_G01_STATUS1,
NI660X_G1_MODE,
NI660X_STC_DIO_SERIAL_INPUT,
NI660X_G2_MODE,
NI660X_G3_MODE,
NI660X_G0_LOADA,
NI660X_G01_STATUS2,
NI660X_G0_LOADB,
NI660X_G1_LOADA,
NI660X_G2_LOADA,
NI660X_G3_LOADA,
NI660X_G0_LOADB,
NI660X_G1_LOADB,
NI660X_G2_LOADB,
NI660X_G3_LOADB,
NI660X_G0_INPUT_SEL,
NI660X_G1_INPUT_SEL,
NI660X_G0_AUTO_INC,
NI660X_G1_AUTO_INC,
NI660X_G01_RESET,
NI660X_G0_INT_ENA,
NI660X_G1_INT_ENA,
NI660X_G2_INPUT_SEL,
NI660X_G3_INPUT_SEL,
NI660X_G0_CNT_MODE,
NI660X_G1_CNT_MODE,
NI660X_G2_CNT_MODE,
NI660X_G3_CNT_MODE,
NI660X_G0_GATE2,
NI660X_G1_GATE2,
NI660X_G2_GATE2,
NI660X_G3_GATE2,
NI660X_G01_STATUS,
NI660X_G23_STATUS,
NI660X_G01_RESET,
NI660X_G23_RESET,
NI660X_G01_STATUS1,
NI660X_G23_STATUS1,
NI660X_G01_STATUS2,
NI660X_G23_STATUS2,
NI660X_G0_DMA_CFG,
NI660X_G0_DMA_STATUS,
NI660X_G1_DMA_CFG,
NI660X_G2_DMA_CFG,
NI660X_G3_DMA_CFG,
NI660X_G0_DMA_STATUS,
NI660X_G1_DMA_STATUS,
NI660X_G2_DMA_STATUS,
NI660X_G3_DMA_STATUS,
NI660X_G0_INT_ACK,
NI660X_G1_INT_ACK,
NI660X_G2_INT_ACK,
NI660X_G2_STATUS,
NI660X_G3_INT_ACK,
NI660X_G0_STATUS,
NI660X_G1_STATUS,
NI660X_G2_STATUS,
NI660X_G3_STATUS,
NI660X_G23_STATUS,
NI660X_G2_CMD,
NI660X_G3_CMD,
NI660X_G2_HW_SAVE,
NI660X_G3_HW_SAVE,
NI660X_G2_SW_SAVE,
NI660X_G3_SW_SAVE,
NI660X_G2_MODE,
NI660X_G23_STATUS1,
NI660X_G3_MODE,
NI660X_G2_LOADA,
NI660X_G23_STATUS2,
NI660X_G2_LOADB,
NI660X_G3_LOADA,
NI660X_G3_LOADB,
NI660X_G2_INPUT_SEL,
NI660X_G3_INPUT_SEL,
NI660X_G2_AUTO_INC,
NI660X_G3_AUTO_INC,
NI660X_G23_RESET,
NI660X_G0_INT_ENA,
NI660X_G1_INT_ENA,
NI660X_G2_INT_ENA,
NI660X_G3_INT_ENA,
NI660X_G2_CNT_MODE,
NI660X_G3_CNT_MODE,
NI660X_G3_GATE2,
NI660X_G2_GATE2,
NI660X_G2_DMA_CFG,
NI660X_G2_DMA_STATUS,
NI660X_G3_DMA_CFG,
NI660X_G3_DMA_STATUS,
NI660X_STC_DIO_PARALLEL_INPUT = NITIO_NUM_REGS,
NI660X_STC_DIO_OUTPUT,
NI660X_STC_DIO_CONTROL,
NI660X_STC_DIO_SERIAL_INPUT,
NI660X_DIO32_INPUT,
NI660X_DIO32_OUTPUT,
NI660X_CLK_CFG,
......
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