powerpc/vio: Separate vio bus probe and device probe
authorAnton Blanchard <anton@samba.org>
Sun, 24 Jun 2012 18:24:44 +0000 (18:24 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jul 2012 09:18:54 +0000 (19:18 +1000)
commit44b372d8a099a7042f9f17ebd4941050e38c1773
treecae6962bdcd49c042dddcea94d516545143518ec
parent62761d1f68937b4d3dd509032942290f2359bde7
powerpc/vio: Separate vio bus probe and device probe

Similar to PCI, separate the bus probe from device probe. This allows
us to attach bus notifiers for DMA debug and IOMMU fault injection
before devices have been probed.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vio.c