From 5bd3d01749cd2765999b591219b6bec291869744 Mon Sep 17 00:00:00 2001 From: Nikko He Date: Wed, 31 Mar 2010 10:38:52 +0800 Subject: 6933916 Should check if the NACA flag is set in uscsi path --- usr/src/uts/common/sys/scsi/impl/commands.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'usr/src/uts/common/sys/scsi/impl/commands.h') 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. -- cgit v1.2.3