Commit 24a11ba6 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: ni_stc.h: tidy up RTSI_Board_Register



Rename the CamelCase.

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 390bc6ff
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -374,7 +374,7 @@ static const struct mio_regmap m_series_stc_write_regmap[] = {
	[NISTC_AO_PERSONAL_REG]		= { 0x19c, 2 },
	[NISTC_RTSI_TRIGA_OUT_REG]	= { 0x19e, 2 },
	[NISTC_RTSI_TRIGB_OUT_REG]	= { 0x1a0, 2 },
	[RTSI_Board_Register]		= { 0, 0 }, /* Unknown */
	[NISTC_RTSI_BOARD_REG]		= { 0, 0 }, /* Unknown */
	[Configuration_Memory_Clear]	= { 0x1a4, 2 },
	[ADC_FIFO_Clear]		= { 0x1a6, 2 },
	[DAC_FIFO_Clear]		= { 0x1a8, 2 },
@@ -4937,7 +4937,7 @@ static void ni_rtsi_init(struct comedi_device *dev)

	/*
	 * Sets the source and direction of the 4 on board lines
* ni_stc_writew(dev, 0x0000, RTSI_Board_Register);
	 * ni_stc_writew(dev, 0, NISTC_RTSI_BOARD_REG);
	 */
}

+2 −1
Original line number Diff line number Diff line
@@ -455,6 +455,8 @@
#define NISTC_RTSI_TRIG_MASK(_c)	NISTC_RTSI_TRIG((_c), 0xf)
#define NISTC_RTSI_TRIG_TO_SRC(_c, _b)	(((_b) >> (((_c) % 4) * 4)) & 0xf)

#define NISTC_RTSI_BOARD_REG		81

#define AI_Status_1_Register		2
#define Interrupt_A_St				0x8000
#define AI_FIFO_Full_St				0x4000
@@ -513,7 +515,6 @@ enum Joint_Status_2_Bits {
#define AO_BC_Save_Registers		18
#define AO_UC_Save_Registers		20

#define	RTSI_Board_Register		81
#define Write_Strobe_0_Register		82
#define Write_Strobe_1_Register		83
#define Write_Strobe_2_Register		84