diff --git a/src/drv/drvBitBus.c b/src/drv/drvBitBus.c index 18caa4c12..b88f1adc6 100644 --- a/src/drv/drvBitBus.c +++ b/src/drv/drvBitBus.c @@ -34,24 +34,12 @@ * .03 12-16-91 jrw Made the data portion of the message a pointer * .04 01-21-91 jrw moved the task parameters into task_params.h * .05 02-12-92 jrw removed IRQ based transmission. + * .06 04-08-92 jrw moved the device configs into module_types.h * * NOTES: * This driver currently needs work on error message generation. */ -/****************************************************************************** - * - * The following defines should be in module_types.h or derived - * from a support function. - * - ******************************************************************************/ -#define BB_SHORT_OFF 0x1800 /* the first address of link 0's region */ -#define BB_NUM_LINKS 4 /* max number of BB ports allowed */ -#define BB_IVEC_BASE 0x90 /* vectored interrupts (2 used for each link) */ -#define BB_IRQ_LEVEL 5 /* IRQ level */ -/**************** end of stuff that does not belong here **********************/ - - #include #include #include @@ -65,6 +53,7 @@ #include #include +#include #include #include #include diff --git a/src/drv/drvGpib.c b/src/drv/drvGpib.c index a1bb94a21..1291e05b2 100644 --- a/src/drv/drvGpib.c +++ b/src/drv/drvGpib.c @@ -39,6 +39,7 @@ * .04 01-31-92 jrw added ibSrqLock code * .05 02-26-92 jrw changed pnode references in the link task's * busy-list checking, was an endless loop + * .06 04-10-92 jrw moved the device configs into module_types.h * ****************************************************************************** * @@ -49,19 +50,6 @@ * initGpib() function to reset the DMAC properly. * */ - -/****************************************************************************** - * - * The following defines should be in module_types.h or derived - * from a support functions. - * - ******************************************************************************/ -#define NIGPIB_SHORT_OFF 0x5000 /* First address of link 0's region */ - /* Each link uses 0x0200 bytes */ -#define NIGPIB_NUM_LINKS 4 /* Max number of NI GPIB ports allowed */ -#define NIGPIB_IVEC_BASE 100 /* Vectored interrupts (2 used for each link) */ -#define NIGPIB_IRQ_LEVEL 5 /* IRQ level */ -/**************** end of stuff that does not belong here **********************/ #include #include @@ -76,6 +64,7 @@ #include #include +#include #include #include #include