xref: /illumos-gate/usr/src/man/man9s/scsi_asc_key_strings.9s (revision 7bb0eb348e1119aed76a61d633a9106b6b9912f1)
te
Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
SCSI_ASC_KEY_STRINGS 9S "Feb 24, 1998"
NAME
scsi_asc_key_strings - SCSI ASC ASCQ to message structure
SYNOPSIS
#include <sys/scsi/scsi.h>
INTERFACE LEVEL
illumos DDI specific (illumos DDI).
DESCRIPTION
The scsi_asc_key_strings structure stores the ASC and ASCQ codes and a pointer to the related ASCII string.
STRUCTURE MEMBERS
ushort_t asc; /* ASC code */
ushort_t ascq; /* ASCQ code */
char *message; /* ASCII message string */

asc Contains the ASC key code.

ascq Contains the ASCQ code.

message Points to the NULL terminated ASCII string
 describing the asc and ascq condition
SEE ALSO
scsi_vu_errmsg (9F)

ANSI Small Computer System Interface-2 (SCSI-2)

Writing Device Drivers