diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-13 03:56:48 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-13 03:56:48 +0000 |
commit | c3a48830f93b1368c52396ab7fc5b1316c84ab94 (patch) | |
tree | 885ff00b9af983ef85bc73c82d61563a42cb948b /sys | |
parent | 71aa114008c671b1c8014ae0e426f01d768067ce (diff) |
make it compile w/ SCSIDEBUG defined, found by brad@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/i2o/iopsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2o/iopsp.c b/sys/dev/i2o/iopsp.c index 91310f16f30..0626df4d9c5 100644 --- a/sys/dev/i2o/iopsp.c +++ b/sys/dev/i2o/iopsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iopsp.c,v 1.6 2002/10/12 01:09:44 krw Exp $ */ +/* $OpenBSD: iopsp.c,v 1.7 2003/01/13 03:56:47 mickey Exp $ */ /* $NetBSD$ */ /*- @@ -435,7 +435,7 @@ iopsp_scsi_cmd(xs) return (COMPLETE); } - SC_DEBUG(periph, SDEV_DB2, ("iopsp_scsi_cmd: run_xfer\n")); + SC_DEBUG(xs->sc_link, SDEV_DB2, ("iopsp_scsi_cmd: run_xfer\n")); /* Need to reset the target? */ if ((xs->flags & XS_RESET) != 0) { @@ -569,7 +569,7 @@ iopsp_intr(struct device *dv, struct iop_msg *im, void *reply) iop = (struct iop_softc *)dv->dv_parent; rb = reply; - SC_DEBUG(xs->xs_periph, SDEV_DB2, ("iopsp_intr\n")); + SC_DEBUG(xs->sc_link, SDEV_DB2, ("iopsp_intr\n")); if ((rb->msgflags & I2O_MSGFLAGS_FAIL) != 0) { xs->error = XS_DRIVER_STUFFUP; |