Commit f17ca811 authored by Gbenga Adalumo's avatar Gbenga Adalumo Committed by Greg Kroah-Hartman

Staging: comedi: fix code indent coding style issues in daqboard2000.c

This is a patch to daqboard2000.c file that fixes  code indent errors found by the checkpatch.pl tool
Signed-off-by: default avatarGbenga Adalumo <gbengadev@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e6f2804d
...@@ -43,7 +43,7 @@ Configuration options: not applicable, uses PCI auto config ...@@ -43,7 +43,7 @@ Configuration options: not applicable, uses PCI auto config
available from http://www.plxtech.com/products/io/pci9080 available from http://www.plxtech.com/products/io/pci9080
2. The initialization done so far is: 2. The initialization done so far is:
a. program the FPGA (windows code sans a lot of error messages) a. program the FPGA (windows code sans a lot of error messages)
b. b.
3. Analog out seems to work OK with DAC's disabled, if DAC's are enabled, 3. Analog out seems to work OK with DAC's disabled, if DAC's are enabled,
...@@ -52,52 +52,52 @@ Configuration options: not applicable, uses PCI auto config ...@@ -52,52 +52,52 @@ Configuration options: not applicable, uses PCI auto config
gives me no clues. I'll keep it simple so far. gives me no clues. I'll keep it simple so far.
4. Analog in. 4. Analog in.
Each channel in the scanlist seems to be controlled by four Each channel in the scanlist seems to be controlled by four
control words: control words:
Word0: Word0:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! | | | ! | | | ! | | | ! | | | ! ! | | | ! | | | ! | | | ! | | | !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Word1: Word1:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! | | | ! | | | ! | | | ! | | | ! ! | | | ! | | | ! | | | ! | | | !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | | | | | | | | | | | |
+------+------+ | | | | +-- Digital input (??) +------+------+ | | | | +-- Digital input (??)
| | | | +---- 10 us settling time | | | | +---- 10 us settling time
| | | +------ Suspend acquisition (last to scan) | | | +------ Suspend acquisition (last to scan)
| | +-------- Simultaneous sample and hold | | +-------- Simultaneous sample and hold
| +---------- Signed data format | +---------- Signed data format
+------------------------- Correction offset low +------------------------- Correction offset low
Word2: Word2:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! | | | ! | | | ! | | | ! | | | ! ! | | | ! | | | ! | | | ! | | | !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | | | | | | | | | | | | | | | | | |
+-----+ +--+--+ +++ +++ +--+--+ +-----+ +--+--+ +++ +++ +--+--+
| | | | +----- Expansion channel | | | | +----- Expansion channel
| | | +----------- Expansion gain | | | +----------- Expansion gain
| | +--------------- Channel (low) | | +--------------- Channel (low)
| +--------------------- Correction offset high | +--------------------- Correction offset high
+----------------------------- Correction gain low +----------------------------- Correction gain low
Word3: Word3:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! | | | ! | | | ! | | | ! | | | ! ! | | | ! | | | ! | | | ! | | | !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | | | | | | | | | | | | | | | |
+------+------+ | | +-+-+ | | +-- Low bank enable +------+------+ | | +-+-+ | | +-- Low bank enable
| | | | | +---- High bank enable | | | | | +---- High bank enable
| | | | +------ Hi/low select | | | | +------ Hi/low select
| | | +---------- Gain (1,?,2,4,8,16,32,64) | | | +---------- Gain (1,?,2,4,8,16,32,64)
| | +-------------- differential/single ended | | +-------------- differential/single ended
| +---------------- Unipolar | +---------------- Unipolar
+------------------------- Correction gain high +------------------------- Correction gain high
999. The card seems to have an incredible amount of capabilities, but 999. The card seems to have an incredible amount of capabilities, but
trying to reverse engineer them from the Windows source is beyond my trying to reverse engineer them from the Windows source is beyond my
patience. patience.
*/ */
......
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