moved the xvmeReset call after the structure inits in init()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user