Staging: comedi: Remove str_BoardInfos typedef in addi-data/hwdrv_apci3200
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ecab384b15
commit
0a4de47be0
@@ -87,7 +87,7 @@ You shoud also find the complete GPL in the COPYING file accompanying this sourc
|
|||||||
int i_Initialised=0;
|
int i_Initialised=0;
|
||||||
unsigned int ui_InterruptChannelValue[96]; //Buffer
|
unsigned int ui_InterruptChannelValue[96]; //Buffer
|
||||||
*/
|
*/
|
||||||
str_BoardInfos s_BoardInfos[100]; // 100 will be the max number of boards to be used
|
struct str_BoardInfos s_BoardInfos[100]; // 100 will be the max number of boards to be used
|
||||||
//END JK 06.07.04: Management of sevrals boards
|
//END JK 06.07.04: Management of sevrals boards
|
||||||
|
|
||||||
//Begin JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
|
//Begin JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
|
||||||
@@ -259,7 +259,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
|
|||||||
/*+----------------------------------------------------------------------------+*/
|
/*+----------------------------------------------------------------------------+*/
|
||||||
|
|
||||||
void v_GetAPCI3200EepromCalibrationValue(unsigned int dw_PCIBoardEepromAddress,
|
void v_GetAPCI3200EepromCalibrationValue(unsigned int dw_PCIBoardEepromAddress,
|
||||||
str_BoardInfos * BoardInformations)
|
struct str_BoardInfos *BoardInformations)
|
||||||
{
|
{
|
||||||
unsigned short w_AnalogInputMainHeaderAddress;
|
unsigned short w_AnalogInputMainHeaderAddress;
|
||||||
unsigned short w_AnalogInputComponentAddress;
|
unsigned short w_AnalogInputComponentAddress;
|
||||||
|
@@ -116,7 +116,8 @@ struct str_Module {
|
|||||||
//END JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
|
//END JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
|
||||||
|
|
||||||
//BEGIN JK 06.07.04: Management of sevrals boards
|
//BEGIN JK 06.07.04: Management of sevrals boards
|
||||||
typedef struct {
|
struct str_BoardInfos {
|
||||||
|
|
||||||
int i_CJCAvailable;
|
int i_CJCAvailable;
|
||||||
int i_CJCPolarity;
|
int i_CJCPolarity;
|
||||||
int i_CJCGain;
|
int i_CJCGain;
|
||||||
@@ -149,7 +150,8 @@ typedef struct {
|
|||||||
int i_NbrOfModule;
|
int i_NbrOfModule;
|
||||||
struct str_Module s_Module[MAX_MODULE];
|
struct str_Module s_Module[MAX_MODULE];
|
||||||
//End JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
|
//End JK 21.10.2004: APCI-3200 / APCI-3300 Reading of EEPROM values
|
||||||
} str_BoardInfos;
|
};
|
||||||
|
|
||||||
//END JK 06.07.04: Management of sevrals boards
|
//END JK 06.07.04: Management of sevrals boards
|
||||||
|
|
||||||
// Hardware Layer functions for Apci3200
|
// Hardware Layer functions for Apci3200
|
||||||
|
Reference in New Issue
Block a user