]> err.no Git - linux-2.6/commit
[POWERPC] ibmebus: Add device creation and bus probing based on of_device
authorJoachim Fenkes <fenkes@de.ibm.com>
Wed, 26 Sep 2007 09:45:21 +0000 (19:45 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 17 Oct 2007 12:30:08 +0000 (22:30 +1000)
commit55347cc9962fbf2048a3cf78e92c3f52035ac524
tree584f473e33bb68198a1cd8aa6f2b50e657aed321
parenta988c0a627ee654b4d692570572567aec06c3e13
[POWERPC] ibmebus: Add device creation and bus probing based on of_device

The devtree root is now searched for devices matching a built-in whitelist
during boot, so these devices appear on the bus from the beginning.  It is
still possible to manually add/remove devices to/from the bus by using the
probe/remove sysfs interface.  Also, when a device driver registers itself,
the devtree is matched against its matchlist.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ibmebus.c