summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-07-01 03:01:38 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-07-01 03:01:38 +0000
commit8ab581762d142299e70da73f2aa0fc7197b7c85d (patch)
tree4eef3356e7b05a73bb576b343e43e93d09d73f94 /sys/scsi/sd.c
parent71d255879679d07ca195b5f4fa1314bde5a1e27e (diff)
Restore setting xs->bp; fixes ncr(4) on VAX.
ok miod@, krw@
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 79cd0b93a82..542364e06e0 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.199 2010/06/30 19:06:29 kettenis Exp $ */
+/* $OpenBSD: sd.c,v 1.200 2010/07/01 03:01:37 matthew Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -727,6 +727,7 @@ sdstart(struct scsi_xfer *xs)
xs->done = sd_buf_done;
xs->cookie = bp;
+ xs->bp = bp;
/* Instrumentation. */
disk_busy(&sc->sc_dk);