Kristen Carlson Accardi 3f8698d4d3 ACPI: bay: send envp with uevent
Make the bay driver send env information on bay events.

Upon any bay event, we will send the string "BAY_EVENT=%d" along with the
KOBJ_CHANGE, and report the event number.  What the event number means will
be platform specific.  Event 3 is always an eject request, but an insert
may be either event 1, or it may be event 0.  Event 1 may also be a
remove request.  It would be best if you check the number of your event
with udevmonitor before writing any udev scripts for inserting and
removing drive bays.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: Stephan Berberig <s.berberig@arcor.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-06-02 00:37:54 -04:00
..
2007-02-02 21:14:31 -05:00
2007-06-02 00:37:54 -04:00
2007-03-09 21:19:05 -05:00
2007-02-12 22:42:12 -05:00
2007-02-12 22:42:12 -05:00
2007-05-10 03:30:41 -04:00
2007-02-12 22:42:12 -05:00
2007-05-08 11:15:18 -07:00
2007-04-28 23:16:59 -04:00
2007-04-28 23:16:59 -04:00
2007-05-08 20:41:14 -07:00
2007-05-08 11:15:08 -07:00
2007-02-12 22:42:12 -05:00