summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/scsi/impl/commands.h
diff options
context:
space:
mode:
authorNikko He <Li.He@Sun.COM>2010-03-31 10:38:52 +0800
committerNikko He <Li.He@Sun.COM>2010-03-31 10:38:52 +0800
commit5bd3d01749cd2765999b591219b6bec291869744 (patch)
tree98671f9e4ddbb484638255e0f4ef65ad0116a20e /usr/src/uts/common/sys/scsi/impl/commands.h
parentfb99bed92d00cc0e0fd0f73d9f5c51c2b96174f3 (diff)
downloadillumos-gate-5bd3d01749cd2765999b591219b6bec291869744.tar.gz
6933916 Should check if the NACA flag is set in uscsi path
Diffstat (limited to 'usr/src/uts/common/sys/scsi/impl/commands.h')
-rw-r--r--usr/src/uts/common/sys/scsi/impl/commands.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr/src/uts/common/sys/scsi/impl/commands.h b/usr/src/uts/common/sys/scsi/impl/commands.h
index 0001a80ebb..38feeca32c 100644
--- a/usr/src/uts/common/sys/scsi/impl/commands.h
+++ b/usr/src/uts/common/sys/scsi/impl/commands.h
@@ -18,16 +18,14 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _SYS_SCSI_IMPL_COMMANDS_H
#define _SYS_SCSI_IMPL_COMMANDS_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -575,6 +573,10 @@ union scsi_cdb { /* scsi command description block */
#define DLD_BFI_FORMAT 0x04 /* bytes-from-index format */
#define DLD_PS_FORMAT 0x05 /* physical sector format */
+/*
+ * Defines for value of CONTROL byte of cdb.
+ */
+#define CDB_FLAG_NACA 0x04 /* naca flag */
/*
* Disk defect list - used by format command.