From: Kristen Carlson Accardi Date: Wed, 23 May 2007 21:12:29 +0000 (-0700) Subject: ACPI: bay: send envp with uevent X-Git-Tag: v2.6.23-rc1~17^2~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f8698d4d3f72252980575fb8d7b4cafeb5dd0a2;p=pandora-kernel.git 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 Cc: Stephan Berberig Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed