Added bounce support for user scsi requests.

Reviewed by:	David Greenman
This commit is contained in:
John Dyson 1995-05-09 02:38:15 +00:00
parent a3e12198e1
commit 40ab35ce04
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8372

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*End copyright
*
* $Id: scsi_ioctl.c,v 1.13 1995/04/14 15:10:35 dufault Exp $
* $Id: scsi_ioctl.c,v 1.14 1995/05/03 18:09:12 dufault Exp $
*
*
*/
@ -204,6 +204,12 @@ void scsistrategy(struct buf *bp)
if (screq->flags & SCCMD_ESCAPE)
flags |= SCSI_ESCAPE;
#ifdef BOUNCE_BUFFERS
if (sc_link->flags & SDEV_BOUNCE)
vm_bounce_alloc(bp);
#endif
err = scsi_scsi_cmd(sc_link,
(struct scsi_generic *)screq->cmd,
screq->cmdlen,