xref: /titanic_51/usr/src/man/man9s/scsi_asc_key_strings.9s (revision 5963c4f9d1eb33d95ac319791aa1d0b9ea17f154)
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 "24 Feb 1998" "SunOS 5.11" "Data Structures for Drivers"
NAME
scsi_asc_key_strings - SCSI ASC ASCQ to message structure
SYNOPSIS

#include <sys/scsi/scsi.h>
INTERFACE LEVEL

Solaris DDI specific (Solaris 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