diff options
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r-- | include/acpi/acpi_bus.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 01e2925523ea..bde976ee068d 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -50,6 +50,9 @@ acpi_evaluate_reference(acpi_handle handle, | |||
50 | acpi_string pathname, | 50 | acpi_string pathname, |
51 | struct acpi_object_list *arguments, | 51 | struct acpi_object_list *arguments, |
52 | struct acpi_handle_list *list); | 52 | struct acpi_handle_list *list); |
53 | acpi_status | ||
54 | acpi_evaluate_hotplug_ost(acpi_handle handle, u32 source_event, | ||
55 | u32 status_code, struct acpi_buffer *status_buf); | ||
53 | 56 | ||
54 | struct acpi_pld { | 57 | struct acpi_pld { |
55 | unsigned int revision:7; /* 0 */ | 58 | unsigned int revision:7; /* 0 */ |
@@ -174,7 +177,8 @@ struct acpi_device_flags { | |||
174 | u32 suprise_removal_ok:1; | 177 | u32 suprise_removal_ok:1; |
175 | u32 power_manageable:1; | 178 | u32 power_manageable:1; |
176 | u32 performance_manageable:1; | 179 | u32 performance_manageable:1; |
177 | u32 reserved:24; | 180 | u32 eject_pending:1; |
181 | u32 reserved:23; | ||
178 | }; | 182 | }; |
179 | 183 | ||
180 | /* File System */ | 184 | /* File System */ |
@@ -326,6 +330,11 @@ struct acpi_bus_event { | |||
326 | u32 data; | 330 | u32 data; |
327 | }; | 331 | }; |
328 | 332 | ||
333 | struct acpi_eject_event { | ||
334 | acpi_handle handle; | ||
335 | u32 event; | ||
336 | }; | ||
337 | |||
329 | extern struct kobject *acpi_kobj; | 338 | extern struct kobject *acpi_kobj; |
330 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); | 339 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); |
331 | void acpi_bus_private_data_handler(acpi_handle, void *); | 340 | void acpi_bus_private_data_handler(acpi_handle, void *); |
@@ -363,6 +372,7 @@ int acpi_bus_register_driver(struct acpi_driver *driver); | |||
363 | void acpi_bus_unregister_driver(struct acpi_driver *driver); | 372 | void acpi_bus_unregister_driver(struct acpi_driver *driver); |
364 | int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent, | 373 | int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent, |
365 | acpi_handle handle, int type); | 374 | acpi_handle handle, int type); |
375 | void acpi_bus_hot_remove_device(void *context); | ||
366 | int acpi_bus_trim(struct acpi_device *start, int rmdevice); | 376 | int acpi_bus_trim(struct acpi_device *start, int rmdevice); |
367 | int acpi_bus_start(struct acpi_device *device); | 377 | int acpi_bus_start(struct acpi_device *device); |
368 | acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); | 378 | acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); |