Staging: comedi: daqboard2000: fixed whitespace coding style issue
PATCH 1/1 Staging: comedi: daqboard2000: fixed whitespace coding style issue
Quoted 1 line
From
843d038eec5ac2c59d3138f19ae52828098c7d50Mon Sep 17 00:00:00 2001
From: Dennis Chen <[email protected]>
Date: Fri, 5 Jun 2015 15:42:37 -0700
Subject: [PATCH] Staging: comedi: daqboard2000: fixed whitespace coding style
issue
Fixed whitespace coding style issue.
--- drivers/staging/comedi/drivers/daqboard2000.c | 112 +++++++++++++------------- 1 file changed, 56 insertions(+), 56 deletions(-)
drivers/staging/comedi/drivers/daqboard2000.c +56 -56
@@ -32,72 +32,72 @@ http://www.comedi.org in the comedi_nonfree_firmware tarball.Configuration options: not applicable, uses PCI auto config */ /* -This card was obviously never intended to leave the Windows world, -since it lacked all kind of hardware documentation (except for cable -pinouts, plug and pray has something to catch up with yet). - -With some help from our swedish distributor, we got the Windows sourcecode -for the card, and here are the findings so far. - -1. A good document that describes the PCI interface chip is 9080db-106.pdf -available from http://www.plxtech.com/products/io/pci9080 - -2. The initialization done so far is: -a. program the FPGA (windows code sans a lot of error messages) -b. - -3. Analog out seems to work OK with DAC's disabled, if DAC's are enabled, -you have to output values to all enabled DAC's until result appears, I -guess that it has something to do with pacer clocks, but the source -gives me no clues. I'll keep it simple so far. - -4. Analog in. -Each channel in the scanlist seems to be controlled by four -control words: - -Word0: -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -! | | | ! | | | ! | | | ! | | | ! -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - -Word1: -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -! | | | ! | | | ! | | | ! | | | ! -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +This card was obviously never intended to leave the Windows world, +since it lacked all kind of hardware documentation (except for cable +pinouts, plug and pray has something to catch up with yet). + +With some help from our swedish distributor, we got the Windows +sourcecode for the card, and here are the findings so far. + +1. A good document that describes the PCI interface chip is +9080db-106.pdf available from http://www.plxtech.com/products/io/pci9080 + +2. The initialization done so far is: +a. program the FPGA (windows code sans a lot of error messages) +b. + +3. Analog out seems to work OK with DAC's disabled, if DAC's are +enabled, you have to output values to all enabled DAC's until result +appears, I guess that it has something to do with pacer clocks, but the +source gives me no clues. I'll keep it simple so far. + +4. Analog in. +Each channel in the scanlist seems to be controlled by four +control words: + +Word0: ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +! | | | ! | | | ! | | | ! | | | ! ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + +Word1: ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +! | | | ! | | | ! | | | ! | | | ! ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | | | | | -+------+------+ | | | | +-- Digital input (??) ++------+------+ | | | | +-- Digital input (??) | | | | +---- 10 us settling time | | | +------ Suspend acquisition (last to scan) | | +-------- Simultaneous sample and hold | +---------- Signed data format +------------------------- Correction offset low -Word2: -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -! | | | ! | | | ! | | | ! | | | ! -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -| | | | | | | | | | -+-----+ +--+--+ +++ +++ +--+--+ -| | | | +----- Expansion channel +Word2: ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +! | | | ! | | | ! | | | ! | | | ! ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +| | | | | | | | | | ++-----+ +--+--+ +++ +++ +--+--+ +| | | | +----- Expansion channel | | | +----------- Expansion gain -| | +--------------- Channel (low) +| | +--------------- Channel (low) | +--------------------- Correction offset high +----------------------------- Correction gain low -Word3: -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -! | | | ! | | | ! | | | ! | | | ! -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -| | | | | | | | | -+------+------+ | | +-+-+ | | +-- Low bank enable -| | | | | +---- High bank enable -| | | | +------ Hi/low select -| | | +---------- Gain (1,?,2,4,8,16,32,64) -| | +-------------- differential/single ended -| +---------------- Unipolar -+------------------------- Correction gain high - -999. The card seems to have an incredible amount of capabilities, but -trying to reverse engineer them from the Windows source is beyond my +Word3: ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +! | | | ! | | | ! | | | ! | | | ! ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +| | | | | | | | | ++----+--------+ | | +-+-+ | | +-- Low bank enable +| | | | | +---- High bank enable +| | | | +------ Hi/low select +| | | +---------- Gain (1,?,2,4,8,16,32,64) +| | +-------------- differential/single ended +| +---------------- Unipolar ++------------------------- Correction gain high + +999. The card seems to have an incredible amount of capabilities, but +trying to reverse engineer them from the Windows source is beyond my patience. */
Signature · 1 line
2.4.2
Quoted 7 lines · Dennis Chen
From
843d038eec5ac2c59d3138f19ae52828098c7d50Mon Sep 17 00:00:00 2001
From: Dennis Chen <[email protected]>
Date: Fri, 5 Jun 2015 15:42:37 -0700
Subject: [PATCH] Staging: comedi: daqboard2000: fixed whitespace coding style
issueFixed whitespace coding style issue.
this will not apply anymore. The comment has already been fixed by:12cba5c9df23 ('staging: comedi: daqboard2000: Use preferred comment style')
regards
sudip
Quoted 5 lines · Dennis Chen
Quoted 1 line
From
843d038eec5ac2c59d3138f19ae52828098c7d50Mon Sep 17 00:00:00 2001From: Dennis Chen <[email protected]>
Date: Fri, 5 Jun 2015 15:42:37 -0700
Subject: [PATCH] Staging: comedi: daqboard2000: fixed whitespace coding style
issue
Sudip is right. Also don't include these lines.
regards,
dan carpenter