diff --git a/src/drv/drvBb902.c b/src/drv/drvBb902.c index c434586b1..7c8c4a0fa 100644 --- a/src/drv/drvBb902.c +++ b/src/drv/drvBb902.c @@ -45,9 +45,10 @@ static char SccsId[] = "@(#)bb902_driver.c $Id$ "; */ #include -#include +#include #include -#include + +#define MAX_BB_BO_CARDS (bo_num_cards[BB902]) /* Burr-Brown 902 binary output memory structure */ struct bo_bb902{ diff --git a/src/drv/drvBb910.c b/src/drv/drvBb910.c index 31deac8ef..fc3b8f01b 100644 --- a/src/drv/drvBb910.c +++ b/src/drv/drvBb910.c @@ -49,10 +49,20 @@ #include #include #include -#include #include -static char SccsId[] = "@(#)bb910_driver.c 1.1\t9/22/88"; +static char SccsId[] = "$Id$\t$Date$"; + +#define MAX_BB_BI_CARDS (bi_num_cards[BB910]) + +/* Burr-Brown 910 binary input memory structure */ +/* Note: the high and low order words are switched from the io card */ +struct bi_bb910{ + unsigned short csr; /* control status register */ + unsigned short low_value; /* low order 16 bits value */ + unsigned short high_value; /* high order 16 bits value */ + char end_pad[0x100-6]; /* pad until next card */ +}; /* pointers to the binary input cards */ struct bi_bb910 *pbi_bb910s[MAX_BB_BI_CARDS]; /* Burr-Brown 910s */