]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] openfirmware: add sysfs nodes for open firmware devices
authorJeff Mahoney <jeffm@suse.com>
Wed, 6 Jul 2005 19:26:27 +0000 (15:26 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 19:55:20 +0000 (12:55 -0700)
commitb5bf5b6786ccfc9e0c8801291f463d92c8e0b423
tree2b398307b9d647f8f8902093f66ec20348727567
parent5e6557722e69840506eb8bc5a1edcdb4e447a917
[PATCH] openfirmware: add sysfs nodes for open firmware devices

This adds sysfs nodes that the hotplug userspace can use to load the
appropriate modules.

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/

Changes: The previous versions were built on 2.6.12. 2.6.13-rcX introduced
         a device_attribute parameter to the show functions. Since that
         parameter was treated as the output buffer, memory corruption would
         result, causing Oopsen very quickly.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/macintosh/Makefile
drivers/macintosh/macio_asic.c
drivers/macintosh/macio_sysfs.c [new file with mode: 0644]