19 #include <linux/pci.h>
24 #define XPLB_PCI_ADDR 0x10c
25 #define XPLB_PCI_DATA 0x110
26 #define XPLB_PCI_BUS 0x114
28 #define PCI_HOST_ENABLE_CMD PCI_COMMAND_SERR | PCI_COMMAND_PARITY | PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY
31 { .compatible =
"xlnx,plbv46-pci-1.03.a", },
38 static void xilinx_pci_fixup_bridge(
struct pci_dev *
dev)
46 hose = pci_bus_to_host(dev->
bus);
62 dev_info(&dev->
dev,
"Hiding Xilinx plb-pci host bridge resources %s\n",
94 pr_err(
"xilinx-pci: cannot resolve base address\n");
100 pr_err(
"xilinx-pci: pcibios_alloc_controller() failed\n");
107 PPC_INDIRECT_TYPE_SET_CFG_TYPE);
125 if (!
ppc_md.pci_exclude_device)
126 ppc_md.pci_exclude_device = xilinx_pci_exclude_device;
131 pr_info(
"xilinx-pci: Registered PCI host bridge\n");