1*58Sanish /* 2*58Sanish * CDDL HEADER START 3*58Sanish * 4*58Sanish * The contents of this file are subject to the terms of the 5*58Sanish * Common Development and Distribution License, Version 1.0 only 6*58Sanish * (the "License"). You may not use this file except in compliance 7*58Sanish * with the License. 8*58Sanish * 9*58Sanish * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*58Sanish * or http://www.opensolaris.org/os/licensing. 11*58Sanish * See the License for the specific language governing permissions 12*58Sanish * and limitations under the License. 13*58Sanish * 14*58Sanish * When distributing Covered Code, include this CDDL HEADER in each 15*58Sanish * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*58Sanish * If applicable, add the following below this CDDL HEADER, with the 17*58Sanish * fields enclosed by brackets "[]" replaced with your own identifying 18*58Sanish * information: Portions Copyright [yyyy] [name of copyright owner] 19*58Sanish * 20*58Sanish * CDDL HEADER END 21*58Sanish */ 22*58Sanish 23*58Sanish /* 24*58Sanish * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 25*58Sanish * Use is subject to license terms. 26*58Sanish */ 27*58Sanish 28*58Sanish #ifndef _PCI_STRINGS_H 29*58Sanish #define _PCI_STRINGS_H 30*58Sanish 31*58Sanish #pragma ident "%Z%%M% %I% %E% SMI" 32*58Sanish 33*58Sanish #ifdef __cplusplus 34*58Sanish extern "C" { 35*58Sanish #endif 36*58Sanish 37*58Sanish #include <sys/types.h> 38*58Sanish #include <sys/stat.h> 39*58Sanish 40*58Sanish typedef struct pci_class_strings_s { 41*58Sanish uint8_t base_class; /* Base class of the PCI/PCI-X/PCIe function */ 42*58Sanish uint8_t sub_class; /* Sub-class of the PCI/PCI-X/PCIe function */ 43*58Sanish uint8_t prog_class; /* Programming class of PCI/X, PCIe function */ 44*58Sanish char *actual_desc; /* PCI/PCI-X/PCIe function's description */ 45*58Sanish char *short_desc; /* Cfgadm based original short description */ 46*58Sanish } pci_class_strings_t; 47*58Sanish 48*58Sanish #ifdef __cplusplus 49*58Sanish } 50*58Sanish #endif 51*58Sanish 52*58Sanish #endif /* _PCI_STRINGS_H */ 53