summaryrefslogtreecommitdiffstats
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-31 06:17:49 +0000
committerdg <dg@FreeBSD.org>1994-08-31 06:17:49 +0000
commita9a9ceeae2109e65721d0b5ed662e324502ceb15 (patch)
tree7ff25817640db4f5e71d9a492c482795929bb37f /sys/scsi/st.c
parente149c004635e54083175fac38276b9c5d5f138e4 (diff)
downloadFreeBSD-src-a9a9ceeae2109e65721d0b5ed662e324502ceb15.zip
FreeBSD-src-a9a9ceeae2109e65721d0b5ed662e324502ceb15.tar.gz
Rather than exclude bounce buffers support with NOBOUNCE, include it
with BOUNCE_BUFFERS. This is more intuitive, and is better for future multiplatform support. Added BOUNCE_BUFFERS option to the GENERIC and LINT kernel config files.
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r--sys/scsi/st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index 65a3109..4ecbe23 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id$
+ * $Id: st.c,v 1.17 1994/08/02 07:52:34 davidg Exp $
*/
/*
@@ -904,7 +904,7 @@ ststrategy(bp)
/*
* Use a bounce buffer if necessary
*/
-#ifndef NOBOUNCE
+#ifdef BOUNCE_BUFFERS
if (st->sc_link->flags & SDEV_BOUNCE)
vm_bounce_alloc(bp);
#endif
OpenPOWER on IntegriCloud