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: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
H Hartley Sweeten
2014-11-04 10:55:04 -07:00
committed by Greg Kroah-Hartman
parent 0c63bd5aea
commit b7d62cf812
2 changed files with 1 additions and 6 deletions

View File

@@ -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

View File

@@ -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)