Module Name:    src
Committed By:   jdolecek
Date:           Sun Oct  2 19:40:35 UTC 2016

Modified Files:
        src/sys/dev/scsipi: scsipi_base.c

Log Message:
change scsipi_execute_xs() to default to simple tags for !XS_CTL_URGENT
if not specified by caller; this is mostly for documentation purposes
only, as sd(4) and cd(4) explicitly use simple tags already


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/dev/scsipi/scsipi_base.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/scsipi/scsipi_base.c
diff -u src/sys/dev/scsipi/scsipi_base.c:1.165 src/sys/dev/scsipi/scsipi_base.c:1.166
--- src/sys/dev/scsipi/scsipi_base.c:1.165	Mon Aug 24 23:13:15 2015
+++ src/sys/dev/scsipi/scsipi_base.c	Sun Oct  2 19:40:35 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: scsipi_base.c,v 1.165 2015/08/24 23:13:15 pooka Exp $	*/
+/*	$NetBSD: scsipi_base.c,v 1.166 2016/10/02 19:40:35 jdolecek Exp $	*/
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsipi_base.c,v 1.165 2015/08/24 23:13:15 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsipi_base.c,v 1.166 2016/10/02 19:40:35 jdolecek Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_scsi.h"
@@ -1923,14 +1923,14 @@ scsipi_execute_xs(struct scsipi_xfer *xs
 	} else {
 		/*
 		 * If the request doesn't specify a tag, give Head
-		 * tags to URGENT operations and Ordered tags to
+		 * tags to URGENT operations and Simple tags to
 		 * everything else.
 		 */
 		if (XS_CTL_TAGTYPE(xs) == 0) {
 			if (xs->xs_control & XS_CTL_URGENT)
 				xs->xs_control |= XS_CTL_HEAD_TAG;
 			else
-				xs->xs_control |= XS_CTL_ORDERED_TAG;
+				xs->xs_control |= XS_CTL_SIMPLE_TAG;
 		}
 
 		switch (XS_CTL_TAGTYPE(xs)) {

Reply via email to