diff options
author | Jeff Mahoney <jeffm@suse.com> | 2005-07-06 21:45:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 21:55:20 +0200 |
commit | 184f6eb8c46afc2a4aa6cb7c51ebc423c36d9c9d (patch) | |
tree | e32c7dac4947a252f6e17e62db37ca0e4d5fdf9c /drivers/parisc/gsc.h | |
parent | [PATCH] openfirmware: add sysfs nodes for open firmware devices (diff) | |
download | linux-184f6eb8c46afc2a4aa6cb7c51ebc423c36d9c9d.tar.xz linux-184f6eb8c46afc2a4aa6cb7c51ebc423c36d9c9d.zip |
[PATCH] openfirmware: implement hotplug for macio devices
This adds the hotplug routine for generating hotplug events when devices
are seen on the macio bus. It uses the attributed created by the sysfs
nodes to generate the hotplug environment vars for userspace.
Since the characters allowed inside the 'compatible' field are NUL
terminated, they are exported as individual OF_COMPATIBLE_# variables,
with OF_COMPATIBLE_N maintaining a count of how many there are.
In order for hotplug to work with macio devices, patches to
module-init-tools and hotplug must be applied. Those patches are
available at:
ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/parisc/gsc.h')
0 files changed, 0 insertions, 0 deletions