summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-05-23 07:53:22 +0000
committermav <mav@FreeBSD.org>2010-05-23 07:53:22 +0000
commit618c7e8625fd65c7ed1740e0895014d7f43f259e (patch)
treec1473a3a5ddd85f318428f739b6df78b06dbbf74 /sys/dev/acpica/acpivar.h
parentc79ede9f609b0894cd333ad1f07f579b1e994649 (diff)
downloadFreeBSD-src-618c7e8625fd65c7ed1740e0895014d7f43f259e.zip
FreeBSD-src-618c7e8625fd65c7ed1740e0895014d7f43f259e.tar.gz
Make table-based HPET identification more clever. Before creating fake
device, make sure we have no real HPET device entry with same ID. As side effect, it potentially allows several HPETs to be attached. Use first of them for timecounting, rest (if ever present) could later be used as event sources.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 002c11c..adc9d6e 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -342,6 +342,7 @@ int acpi_bus_alloc_gas(device_t dev, int *type, int *rid,
u_int flags);
void acpi_walk_subtables(void *first, void *end,
acpi_subtable_handler *handler, void *arg);
+BOOLEAN acpi_MatchHid(ACPI_HANDLE h, const char *hid);
struct acpi_parse_resource_set {
void (*set_init)(device_t dev, void *arg, void **context);
OpenPOWER on IntegriCloud