sparc64: Sync of_create_pci_dev() with drivers/pci/probe.c changes.
commit172d2d0041fdd4f3617dbdff8296bf279db3d5fb
authorDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 00:42:08 +0000 (17 16:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 00:42:08 +0000 (17 16:42 -0800)
tree5bce3a7e17c05f43239cd6ba01e0005343625858
parent8c2fcadc933f713d51f46ec4dcd9b12830e0df84
sparc64: Sync of_create_pci_dev() with drivers/pci/probe.c changes.

Mirrors powerpc commits bb209c8287d2d55ec4a67e3933346e0a3ee0da76
("powerpc/pci: Add calls to set_pcie_port_type() and set_pcie_hotplug_bridge()")
and 26b4a0ca46985ae9586c194f7859f3838b1230f8
("powerpc/pci: Add missing hookup to pci_slot")

We also need to initialize ->dma_mask explicitly here too.

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