[POWERPC] Create modalias file in sysfs for of_platform bus
authorOlaf Hering <olaf@aepfle.de>
Thu, 24 Apr 2008 13:16:00 +0000 (23:16 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 May 2008 12:31:28 +0000 (22:31 +1000)
Create /sys/bus/of_platform/devices/*/modalias file to allow autoloading
of modules.  Modalias files are already present for many other bus types.
This adds also a newline to the devspec files.

Also create a devspec file for mac-io devices.  They were created as a
side effect.  Use correct buffer size for mac-io modalias buffer.

Tested on iBook1 and Efika.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found