/*
* 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) 2009-2010, Intel Corporation.
* All rights reserved.
*/
#include <sys/acpidev_impl.h>
/*
* Default class driver for ACPI DEVICE objects.
* The default policy for DEVICE objects is to scan child objects without
* creating device nodes. But some special DEVICE objects will have device
* nodes created for them.
*/
0, /* adc_refcnt */
ACPIDEV_CLASS_REV1, /* adc_version */
ACPIDEV_CLASS_ID_DEVICE, /* adc_class_id */
"ACPI Device", /* adc_class_name */
ACPIDEV_TYPE_DEVICE, /* adc_dev_type */
NULL, /* adc_private */
NULL, /* adc_pre_probe */
NULL, /* adc_post_probe */
acpidev_device_probe, /* adc_probe */
acpidev_device_filter, /* adc_filter */
acpidev_device_init, /* adc_init */
NULL, /* adc_fini */
};
/*
* List of class drivers which will be called in order when handling
* children of ACPI DEVICE objects.
*/
/* Filter rule table for boot. */
{ /* _SB_ object type is hardcoded to DEVICE by acpica */
NULL,
0,
1,
1,
},
{ /* Ignore other device objects under ACPI root object */
NULL,
0,
NULL,
1,
1,
NULL,
NULL,
},
{ /* Scan other device objects not directly under ACPI root */
NULL,
0,
2,
NULL,
NULL,
}
};
static ACPI_STATUS
{
int flags;
return (AE_OK);
}
switch (infop->awi_op_type) {
case ACPIDEV_OP_BOOT_PROBE:
break;
case ACPIDEV_OP_BOOT_REPROBE:
break;
case ACPIDEV_OP_HOTPLUG_PROBE:
break;
default:
"!acpidev: unknown operation type %u in "
break;
}
}
"!acpidev: failed to process device object %s.",
} else {
}
return (rc);
}
static acpidev_filter_result_t
{
} else {
}
return (res);
}
static ACPI_STATUS
{
char *compatible[] = {
};
return (AE_ERROR);
}
return (AE_ERROR);
}
return (AE_OK);
}