sparc64: Propagate PCI device archdata into OF device tree for EBUS.
authorDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2008 05:42:34 +0000 (22:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2008 05:42:34 +0000 (22:42 -0700)
commitae05f87ee2f403228bca6d28fef29d6be0bfbedc
tree141c399c8ec29bea82b2b803d8df19664a792021
parente21e245bcd9d5244735799387d14421789b20557
sparc64: Propagate PCI device archdata into OF device tree for EBUS.

In order to convert EBUS drivers doing DMA into pure OF drivers,
we need the of_device->dev.archdata setup properly.

EBUS instances that can provide DMA for device nodes sit on PCI,
so detect and propagate the information there.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci.c