diff options
| author | Tejun Heo <[email protected]> | 2008-03-12 05:24:43 +0000 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2008-03-17 12:26:42 +0000 |
| commit | 233f112042d0b50170212dbff99c3b34b8773cd3 (patch) | |
| tree | 2b40ce227755dbbbe3ece6acd161bc7619f19f85 /net/ipv4/tcp_output.c | |
| parent | Linux 2.6.25-rc6 (diff) | |
| download | kernel-233f112042d0b50170212dbff99c3b34b8773cd3.tar.gz kernel-233f112042d0b50170212dbff99c3b34b8773cd3.zip | |
libata-acpi: improve dock event handling
Improve ACPI hotplug handling such that dock event is handled properly.
* Register handlers for dock events.
* Directly detach device on EJECT_REQUEST instead of signaling hotplug
event. This prevents libata from accessing severed controller
and/or device.
* While at it, use named constants for ACPI events and move uevent
signaling inside host lock.
Original patch and testing by Holger Macht.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Holger Macht <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
