From b969366ea4c2c9de82df66b9616a57969eec0e0c Mon Sep 17 00:00:00 2001 From: John Winans Date: Wed, 4 Mar 1992 15:48:34 +0000 Subject: [PATCH] changed interrupt level & removed ram_base calcs (not used) --- src/drv/drvBitBus.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/drv/drvBitBus.c b/src/drv/drvBitBus.c index 221ace82c..30b0a760f 100644 --- a/src/drv/drvBitBus.c +++ b/src/drv/drvBitBus.c @@ -47,7 +47,7 @@ #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 3 /* IRQ level */ +#define BB_IRQ_LEVEL 5 /* IRQ level */ /**************** end of stuff that does not belong here **********************/ @@ -107,7 +107,6 @@ struct { static char init_called = 0; /* to insure that init is done first */ static char *short_base; /* base of short address space */ -static char *ram_base; /* base of the ram on the CPU board */ static struct xvmeLink *pXvmeLink[BB_NUM_LINKS];/* NULL if link not present */ static struct bbLink *pBbLink[BB_NUM_LINKS]; /* NULL if link not present */ @@ -170,15 +169,10 @@ initBB() /* figure out where the short address space is */ sysBusToLocalAdrs(VME_AM_SUP_SHORT_IO , 0, &short_base); - /* figure out where the CPU memory is (when viewed from the backplane) */ - sysLocalToBusAdrs(VME_AM_STD_SUP_DATA, &ram_base, &ram_base); - ram_base = (char *)((ram_base - (char *)&ram_base) & 0x00FFFFFF); - if (bbDebug) { printf("BB driver package initializing\n"); printf("short_base 0x%08.8X\n", short_base); - printf("ram_base 0x%08.8X\n", ram_base); printf("BB_SHORT_OFF 0x%08.8X\n", BB_SHORT_OFF); printf("BB_NUM_LINKS 0x%08.8X\n", BB_NUM_LINKS); }