#define RESID_COUNT_L 14
/* Board description */
-typedef struct cb_pcimdas_board_struct {
+struct cb_pcimdas_board {
const char *name;
unsigned short device_id;
int ai_se_chans; // Inputs in single-ended mode
int dio_bits; // number of dio bits
int has_dio; // has DIO
const struct comedi_lrange *ranges;
-} cb_pcimdas_board;
+};
-static const cb_pcimdas_board cb_pcimdas_boards[] = {
+static const struct cb_pcimdas_board cb_pcimdas_boards[] = {
{
name: "PCIM-DAS1602/16",
device_id:0x56,
/*
* Useful for shorthand access to the particular board structure
*/
-#define thisboard ((const cb_pcimdas_board *)dev->board_ptr)
+#define thisboard ((const struct cb_pcimdas_board *)dev->board_ptr)
/* this structure is for data unique to this hardware driver. If
several hardware drivers keep similar information in this structure,