SUNSCPAL_TRACE
SUNSCPAL_TRACE("sched: ret, intr ON\n", 0);
SUNSCPAL_TRACE("sched: select for t/l=0x%02x\n",
SUNSCPAL_TRACE("sched: reselect, new sr=0x%x\n", (long)sr);
SUNSCPAL_TRACE("sched: select rv=%d\n", error);
SUNSCPAL_TRACE("sched: call done, sr=0x%x\n", (long)sr);
SUNSCPAL_TRACE("sched: overdue, sr=0x%x\n", (long)sr);
SUNSCPAL_TRACE("sched: cmd=reset, sr=0x%x\n", (long)sr);
SUNSCPAL_TRACE("sched: dma_alloc, len=%d\n", sc->sc_datalen);
SUNSCPAL_TRACE("sched: dma_setup, dh=0x%x\n",
SUNSCPAL_TRACE("sched: set timeout=%d\n", i);
SUNSCPAL_TRACE("sched: call machine, cur=0x%x\n",
SUNSCPAL_TRACE("sched: machine done, cur=0x%x\n",
SUNSCPAL_TRACE("select: reselect, cur=0x%x\n",
SUNSCPAL_TRACE("select: device down, rc=%d\n", XS_SELTIMEOUT);
SUNSCPAL_TRACE("msg_in: continuation, n=%d\n", n);
SUNSCPAL_TRACE("msg_in: lost BSY, n=%d\n", n);
SUNSCPAL_TRACE("msg_in: BSY but no REQ, n=%d\n", n);
SUNSCPAL_TRACE("msg_in: CMDCOMPLETE\n", 0);
SUNSCPAL_TRACE("msg_in: PARITY_ERROR\n", 0);
SUNSCPAL_TRACE("msg_in: got reject for 0x%x\n", sc->sc_msgout);
SUNSCPAL_TRACE("msg_in: NOOP\n", 0);
SUNSCPAL_TRACE("msg_in: DISCONNECT\n", 0);
SUNSCPAL_TRACE("msg_in: SAVE_PTRS\n", 0);
SUNSCPAL_TRACE("msg_in: RESTORE_PTRS\n", 0);
SUNSCPAL_TRACE("msg_in: eh? imsg=0x%x\n", sc->sc_imess[0]);
SUNSCPAL_TRACE("data_xfer: dma_start, dh=0x%x\n",
SUNSCPAL_TRACE("data_xfer: doing PIO, len=%d\n", sc->sc_datalen);
SUNSCPAL_TRACE("data_xfer: did PIO, resid=%d\n", sc->sc_datalen);
SUNSCPAL_TRACE("machine: phase=%s\n",
SUNSCPAL_TRACE("machine: wait for DMA intr.\n", 0);
SUNSCPAL_TRACE("machine: dma_poll, dh=0x%x\n",
SUNSCPAL_TRACE("machine: dma_stop, dh=0x%x\n",
SUNSCPAL_TRACE("machine: act_flags=0x%x\n", act_flags);
SUNSCPAL_TRACE("machine: call done, cur=0x%x\n", (long)sr);
SUNSCPAL_TRACE("machine: discon, waited %d\n",
SUNSCPAL_TRACE("machine: discon, cur=0x%x\n", (long)sr);
SUNSCPAL_TRACE("sunscpal_dma_poll: waited %d\n", POLL_TIMO - tmo);
SUNSCPAL_TRACE("pio_out: lost BSY, resid=%d\n", resid);
SUNSCPAL_TRACE("pio_out: no REQ, resid=%d\n", resid);
SUNSCPAL_TRACE("pio_in: lost BSY, resid=%d\n", resid);
SUNSCPAL_TRACE("pio_in: no REQ, resid=%d\n", resid);
SUNSCPAL_TRACE("init: intr ON\n", 0);
SUNSCPAL_TRACE("reset_scsibus, cur=0x%x\n", (long)sc->sc_current);
SUNSCPAL_TRACE("intr: top, state=%d\n", sc->sc_state);
SUNSCPAL_TRACE("intr: for reselect, intr off\n", 0);
SUNSCPAL_TRACE("intr: call machine, cur=0x%x\n",
SUNSCPAL_TRACE("intr: machine done, cur=0x%x\n",
SUNSCPAL_TRACE("intr: call sched, cur=0x%x\n",
SUNSCPAL_TRACE("intr: sched done, cur=0x%x\n",
SUNSCPAL_TRACE("abort: intr off\n", 0);
SUNSCPAL_TRACE("abort: call machine, cur=0x%x\n",
SUNSCPAL_TRACE("abort: machine done, cur=0x%x\n",
SUNSCPAL_TRACE("abort: intr ON\n", 0);
SUNSCPAL_TRACE("cmd_tmo: call abort, sr=0x%x\n", (long)sr);
SUNSCPAL_TRACE("cmd_tmo: clear matrix, t/l=0x%02x\n",
SUNSCPAL_TRACE("cmd_tmo: call sched, cur=0x%x\n",
SUNSCPAL_TRACE("cmd_tmo: sched done, cur=0x%x\n",
SUNSCPAL_TRACE("scsipi_cmd: no openings, rv=%d\n", rv);
SUNSCPAL_TRACE("scsipi_cmd: new sr=0x%x\n", (long)sr);
SUNSCPAL_TRACE("scsipi_cmd: call sched, cur=0x%x\n",
SUNSCPAL_TRACE("scsipi_cmd: sched done, cur=0x%x\n",
SUNSCPAL_TRACE("done: top, cur=0x%x\n", (long)sc->sc_current);
SUNSCPAL_TRACE("done: dma_free, dh=0x%x\n",
SUNSCPAL_TRACE("done: aborting, error=%d\n", xs->error);
SUNSCPAL_TRACE("done: check error=%d\n", (long)xs->error);
SUNSCPAL_TRACE("done: check status=%d\n", sr->sr_status);
SUNSCPAL_TRACE("done: finish, error=%d\n", xs->error);
SUNSCPAL_TRACE("sched: top, intr off\n", 0);
SUNSCPAL_TRACE("sched: no work, cur=0x%x\n",