diff options
author | dg <dg@FreeBSD.org> | 1994-03-23 09:16:04 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-03-23 09:16:04 +0000 |
commit | 0b07523c75c58c331e7f4c9f19e966a87359cb3e (patch) | |
tree | 00aadaf036a3e606544db696040d27050b5d9283 /sys/scsi/st.c | |
parent | be89471c9d6a4de60171c625d1b0ab147abb0770 (diff) | |
download | FreeBSD-src-0b07523c75c58c331e7f4c9f19e966a87359cb3e.zip FreeBSD-src-0b07523c75c58c331e7f4c9f19e966a87359cb3e.tar.gz |
Bounce buffers. From John Dyson with help from me.
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r-- | sys/scsi/st.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c index 871614d..b72cb76 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -21,13 +21,13 @@ * 16 Feb 93 Julian Elischer ADDED for SCSI system * 1.15 is the last version to support MACH and OSF/1 */ -/* $Revision: 1.14 $ */ +/* $Revision: 1.15 $ */ /* * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * major changes by Julian Elischer (julian@jules.dialix.oz.au) May 1993 * - * $Id: st.c,v 1.14 1993/12/19 00:54:59 wollman Exp $ + * $Id: st.c,v 1.15 1994/01/29 10:30:41 rgrimes Exp $ */ /* @@ -911,6 +911,14 @@ ststrategy(bp) stminphys(bp); opri = splbio(); + /* + * Use a bounce buffer if necessary + */ +#ifndef NOBOUNCE + if (st->sc_link->flags & SDEV_BOUNCE) + vm_bounce_alloc(bp); +#endif + /* * Place it in the queue of activities for this tape * at the end (a bit silly because we only have on user.. |