diff options
author | njl <njl@FreeBSD.org> | 2004-03-31 17:23:46 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-03-31 17:23:46 +0000 |
commit | fd0c34e87b18dc4d46cef5a65516486dd7f7090c (patch) | |
tree | c1bd07877c41ba3f799b59b9d8c57614d7f3ad73 /sys/dev/acpica/acpivar.h | |
parent | 9f95817abba7fa2d8012e6af0d47db66ae7c840d (diff) | |
download | FreeBSD-src-fd0c34e87b18dc4d46cef5a65516486dd7f7090c.zip FreeBSD-src-fd0c34e87b18dc4d46cef5a65516486dd7f7090c.tar.gz |
Add an interface to pass an argument to the resource parsing functions.
This is just groundwork for changing sysresource behavior.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index 51d5c9d..bba700e 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -198,7 +198,7 @@ extern void acpi_UserNotify(const char *subsystem, ACPI_HANDLE h, uint8_t notify); struct acpi_parse_resource_set { - void (*set_init)(device_t dev, void **context); + void (*set_init)(device_t dev, void *arg, void **context); void (*set_done)(device_t dev, void *context); void (*set_ioport)(device_t dev, void *context, u_int32_t base, u_int32_t length); @@ -221,7 +221,7 @@ struct acpi_parse_resource_set { extern struct acpi_parse_resource_set acpi_res_parse_set; extern ACPI_STATUS acpi_parse_resources(device_t dev, ACPI_HANDLE handle, - struct acpi_parse_resource_set *set); + struct acpi_parse_resource_set *set, void *arg); /* ACPI event handling */ extern UINT32 acpi_event_power_button_sleep(void *context); |