diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/mpii.c | 5 | ||||
-rw-r--r-- | sys/dev/vscsi.c | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c index 33be7c9f717..7f602bce094 100644 --- a/sys/dev/pci/mpii.c +++ b/sys/dev/pci/mpii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpii.c,v 1.22 2010/06/27 01:47:36 dlg Exp $ */ +/* $OpenBSD: mpii.c,v 1.23 2010/06/27 03:34:29 matthew Exp $ */ /* * Copyright (c) 2010 Mike Belopuhov <mkb@crypt.org.ru> * Copyright (c) 2009 James Giannoules @@ -4408,8 +4408,7 @@ mpii_scsi_cmd(struct scsi_xfer *xs) } DNPRINTF(MPII_D_CMD, "%s: mpii_scsi_cmd(): opcode: %02x " - "datalen: %d req_sense_len: %d\n", DEVNAME(sc), xs->cmd->opcode, - xs->datalen, xs->req_sense_length); + "datalen: %d\n", DEVNAME(sc), xs->cmd->opcode, xs->datalen); s = splbio(); mpii_start(sc, ccb); diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c index 566beebdda6..5ad1613b481 100644 --- a/sys/dev/vscsi.c +++ b/sys/dev/vscsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vscsi.c,v 1.12 2010/06/21 13:47:10 dlg Exp $ */ +/* $OpenBSD: vscsi.c,v 1.13 2010/06/27 03:34:29 matthew Exp $ */ /* * Copyright (c) 2008 David Gwynne <dlg@openbsd.org> @@ -398,7 +398,6 @@ vscsi_t2i(struct vscsi_softc *sc, struct vscsi_ioc_t2i *t2i) case VSCSI_STAT_SENSE: xs->error = XS_SENSE; bcopy(&t2i->sense, &xs->sense, sizeof(xs->sense)); - xs->req_sense_length = t2i->senselen; break; case VSCSI_STAT_ERR: default: |