Print this page
PANKOVs restructure


  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2010, Intel Corporation.
  24  * All rights reserved.
  25  */
  26 
  27 #include <sys/types.h>
  28 #include <sys/atomic.h>
  29 #include <sys/sunddi.h>
  30 #include <sys/sunndi.h>
  31 #include <sys/acpi/acpi.h>
  32 #include <sys/acpica.h>
  33 #include <sys/acpidev.h>
  34 #include <sys/acpidev_rsc.h>
  35 #include <sys/acpidev_dr.h>
  36 #include <sys/acpidev_impl.h>
  37 
  38 static ACPI_STATUS acpidev_pci_probe(acpidev_walk_info_t *infop);
  39 
  40 /*
  41  * Default class driver for PCI/PCIEX Host Bridge devices.
  42  */
  43 acpidev_class_t acpidev_class_pci = {
  44         0,                              /* adc_refcnt */
  45         ACPIDEV_CLASS_REV1,             /* adc_version */
  46         ACPIDEV_CLASS_ID_PCI,           /* adc_class_id */
  47         "PCI/PCIex Host Bridge",        /* adc_class_name */
  48         ACPIDEV_TYPE_PCI,               /* adc_dev_type */
  49         NULL,                           /* adc_private */
  50         NULL,                           /* adc_pre_probe */
  51         NULL,                           /* adc_post_probe */




  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2010, Intel Corporation.
  24  * All rights reserved.
  25  */
  26 
  27 #include <sys/types.h>
  28 #include <sys/atomic.h>
  29 #include <sys/sunddi.h>
  30 #include <sys/sunndi.h>
  31 #include <acpica/include/acpi.h>
  32 #include <sys/acpica.h>
  33 #include <sys/acpidev.h>
  34 #include <sys/acpidev_rsc.h>
  35 #include <sys/acpidev_dr.h>
  36 #include <sys/acpidev_impl.h>
  37 
  38 static ACPI_STATUS acpidev_pci_probe(acpidev_walk_info_t *infop);
  39 
  40 /*
  41  * Default class driver for PCI/PCIEX Host Bridge devices.
  42  */
  43 acpidev_class_t acpidev_class_pci = {
  44         0,                              /* adc_refcnt */
  45         ACPIDEV_CLASS_REV1,             /* adc_version */
  46         ACPIDEV_CLASS_ID_PCI,           /* adc_class_id */
  47         "PCI/PCIex Host Bridge",        /* adc_class_name */
  48         ACPIDEV_TYPE_PCI,               /* adc_dev_type */
  49         NULL,                           /* adc_private */
  50         NULL,                           /* adc_pre_probe */
  51         NULL,                           /* adc_post_probe */