remove stupid printf at initialization
SCCS-vsn: sys/vax/uba/np.c 7.7
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)np.c 7.6 (Berkeley) %G%
+ * @(#)np.c 7.7 (Berkeley) %G%
*
* From:
* np.c version 1.5
*
* From:
* np.c version 1.5
-#ifdef mc500
- if(setjmp(u.u_tsav) == 0) {
- u.u_nofault = TRUE;
- status = RCSR1(mp->iobase);
- u.u_nofault = FALSE;
- }
- else {
- np__addr[unit] = 0;
- mp->flags |= BADBOARD;
- u.u_error = ENXIO;
- printf("\nNP100 Unit %x not here!\n",unit);
- return(0);
- }
-#endif
-
if(NpDebug & DEBENTRY)
printf("Resetting the NP100 Board at %x\n",mp->iobase);
if(NpDebug & DEBENTRY)
printf("Resetting the NP100 Board at %x\n",mp->iobase);
if(!(RCSR1(mp->iobase) & NPHOK)) {
mp->flags |= BADBOARD;
if(!(RCSR1(mp->iobase) & NPHOK)) {
mp->flags |= BADBOARD;
printf("NP100 Unit %d Failed diagnostics!\n",unit);
printf("Status from CSR0: %x.\n",status);
return(EIO);
printf("NP100 Unit %d Failed diagnostics!\n",unit);
printf("Status from CSR0: %x.\n",status);
return(EIO);
if(!(mp->flags & AVAILABLE)) {
if(!(mp->flags & AVAILABLE)) {
- if((mp->shmemp->statblock.sb_dpm) && (!(mp->flags & BRDRESET))){
+ if((mp->shmemp->statblock.sb_dpm) && (!(mp->flags & BRDRESET)))
- printf("\nNP100 unit #%d available!\n",mp->unit);
- }
}
/* Honor service requests from the device */
}
/* Honor service requests from the device */
if(*temp) { /* Should never happen */
printf("No more room on Command Queue!\n");
if(*temp) { /* Should never happen */
printf("No more room on Command Queue!\n");
return;
}
else *temp = cqe_offset; /* Enter this request's offset */
return;
}
else *temp = cqe_offset; /* Enter this request's offset */