summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0ef7367)
SCCS-vsn: sys/pmax/dev/rz.c 7.2
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)rz.c 7.1 (Berkeley) %G%
+ * @(#)rz.c 7.2 (Berkeley) %G%
*/
sc->sc_sense.sense[0] = 0x70;
sc->sc_sense.sense[2] = SCSI_CLASS7_NO_SENSE;
*/
sc->sc_sense.sense[0] = 0x70;
sc->sc_sense.sense[2] = SCSI_CLASS7_NO_SENSE;
- } else if (!cold
-#ifdef DEBUG
- || (rzdebug & RZB_ERROR)
-#endif
- ) {
printf("rz%d: ", unit);
scsiPrintSense((ScsiClass7Sense *)sc->sc_sense.sense,
sizeof(sc->sc_sense.sense) - resid);
}
} else if (error || (status & SCSI_STATUS_CHECKCOND)) {
#ifdef DEBUG
printf("rz%d: ", unit);
scsiPrintSense((ScsiClass7Sense *)sc->sc_sense.sense,
sizeof(sc->sc_sense.sense) - resid);
}
} else if (error || (status & SCSI_STATUS_CHECKCOND)) {
#ifdef DEBUG
- if (rzdebug & RZB_ERROR)
+ if (!cold && (rzdebug & RZB_ERROR))
printf("rz%d: error %d scsi status 0x%x\n",
unit, error, status);
#endif
printf("rz%d: error %d scsi status 0x%x\n",
unit, error, status);
#endif