diff options
author | Kristen Carlson Accardi <kristen.c.accardi@intel.com> | 2007-05-09 18:08:15 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-05-10 03:30:41 -0400 |
commit | a0cd35fdca0bb711854edeaf016cec6cdf82eeca (patch) | |
tree | e732a7047f4d2a24476e7e9faa63573353e45b3a /include/asm-sh64/page.h | |
parent | 0f6f2804563eee64f0fc7cbcb009b98b6f332af6 (diff) |
ACPI: dock: add immediate_undock option
Allow the driver to be loaded with an option that will allow userspace to
control whether the laptop is ejected immediately when the user presses the
button, or only when the syfs undock file is written.
if immediate_undock == 1, then when the user presses the undock button, the
laptop will send an event to userspace to notify userspace of the undock, but
then immediately undock without waiting for userspace. This is the current
behavior, and I set this to be the default.
if immediate_undock == 0, then when the user presses the undock button, the
laptop will send an event to userspace and do nothing. User space can query
the "flags" sysfs entry to determine if an undock request has been made by
the user (if bit 1 is set). User space will then need to write the undock
sysfs entry to complete the undocking process.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/asm-sh64/page.h')
0 files changed, 0 insertions, 0 deletions