/*
* CDDL HEADER START
*
* 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
* 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]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2010, Intel Corporation.
* All rights reserved.
*/
#include <sys/acpidev_rsc.h>
#include <sys/acpidev_dr.h>
#include <sys/acpidev_impl.h>
/*
*/
0, /* adc_refcnt */
ACPIDEV_CLASS_REV1, /* adc_version */
ACPIDEV_CLASS_ID_PCI, /* adc_class_id */
ACPIDEV_TYPE_PCI, /* adc_dev_type */
NULL, /* adc_private */
NULL, /* adc_pre_probe */
NULL, /* adc_post_probe */
acpidev_pci_probe, /* adc_probe */
NULL, /* adc_filter */
NULL, /* adc_init */
NULL, /* adc_fini */
};
static char *acpidev_pci_device_ids[] = {
};
static char *acpidev_pciex_device_ids[] = {
};
static void
{
int status;
} else {
}
} else {
}
} else {
}
if (acpidev_check_device_enabled(status)) {
/*
* Mark the device as DISABLE if no device node created.
*/
} else {
}
} else {
}
}
static ACPI_STATUS
{
return (AE_OK);
}
if (acpica_get_devcfg_feature(ACPI_DEVCFG_PCI) == 0) {
return (AE_OK);
}
/*
* Check hotplug capability on the first pass.
*/
/*
* Check whether the PCI device enumerator has created device
*/
/*
* It will come in next phase.
*/
/*
* Don't block the hot-adding process, just skip it.
*/
} else {
}
} else {
}
return (rc);
}