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