]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Sync of_create_pci_dev() with drivers/pci/probe.c changes.
authorDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 00:42:08 +0000 (16:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 00:42:08 +0000 (16:42 -0800)
commita90e9a18ad6cccf05e6a7ed753c3b6969880a8cc
tree5bce3a7e17c05f43239cd6ba01e0005343625858
parenteb5abdf527366a86ab6dacdd44b3ce80fee35062
sparc64: Sync of_create_pci_dev() with drivers/pci/probe.c changes.

Mirrors powerpc commits 07f1dbd6131509e9a93a21265ad059233824f9ff
("powerpc/pci: Add calls to set_pcie_port_type() and set_pcie_hotplug_bridge()")
and 55bfa9930dc3c75d5bda389d49ebcba367f91533
("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