moved the xvmeReset call after the structure inits in init()

This commit is contained in:
John Winans
1992-04-30 15:36:05 +00:00
parent 367b84b1a0
commit 85cb1ccfd3

View File

@@ -172,7 +172,9 @@ initBB()
else
{ /* BB board found... reserve space for structures */
#if FALSE
xvmeReset(pXvmeRegs, i); /* finish resetting the xvme module */
#endif
if (bbDebug)
printf("BB card found at address 0x%08.8X\n", pXvmeRegs);
@@ -223,6 +225,8 @@ initBB()
pXvmeLink[i]->txAbortAck = 0;
pXvmeLink[i]->rxAbortAck = 0;
xvmeReset(pXvmeRegs, i); /* finish resetting the xvme module */
/* attach the interrupt handler routines */
intConnect((BB_IVEC_BASE + 1 + (i*4)) * 4, xvmeIrqRcmd, i);
intConnect((BB_IVEC_BASE + 3 + (i*4)) * 4, xvmeIrqRdav, i);