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

staging: comedi: addi_apci_3120: move APCI3120_FIFO_ADVANCE_ON_BYTE_2



Move this define to the main driver source and convert it to a bit-shift.

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 0c63bd5a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -40,12 +40,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
  +----------+-----------+------------------------------------------------+
*/

/*
 * ADDON RELATED ADDITIONS
 */
/* Constant */
#define APCI3120_FIFO_ADVANCE_ON_BYTE_2			0x20000000L

#define APCI3120_START			1
#define APCI3120_STOP			0

+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
 * PCI BAR 0 register map (devpriv->amcc)
 * see amcc_s5933.h for register and bit defines
 */
#define APCI3120_FIFO_ADVANCE_ON_BYTE_2		(1 << 29)

/*
 * PCI BAR 1 register map (dev->iobase)