moved the board config constants to module_types.h

This commit is contained in:
John Winans
1992-04-10 15:25:40 +00:00
parent 9e382aac74
commit 0c9f9a735a
2 changed files with 4 additions and 26 deletions

View File

@@ -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 <vxWorks.h>
#include <types.h>
#include <iosLib.h>
@@ -65,6 +53,7 @@
#include <vme.h>
#include <task_params.h>
#include <module_types.h>
#include <drvSup.h>
#include <dbDefs.h>
#include <link.h>

View File

@@ -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 <vxWorks.h>
#include <types.h>
@@ -76,6 +64,7 @@
#include <sysLib.h>
#include <task_params.h>
#include <module_types.h>
#include <drvSup.h>
#include <dbDefs.h>
#include <link.h>