aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-07-19 16:39:24 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-07-23 11:27:08 -0400
commit4e7982115e8e426ee885f48c8aedd5e533e23c5b (patch)
tree116823e99a861ab76d98bfedcbeeda47016d6c5a /arch/powerpc/platforms
parentaa3c112146e387dcd68bea2a8354514fe725da0d (diff)
[POWERPC] 85xx: Add quirk to ignore bogus FPGA on CDS
The newer Arcadia boards for CDS have an FPGA that shows up on PCI however isn't a real PCI device. Add a quirk to just ignore the FPGA. This is based on the following patch from Andy & York: http://ozlabs.org/pipermail/linuxppc-dev/2007-February/032042.html Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx_cds.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c
index 9b559ebc66f8..71200bdce05a 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c
+++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c
@@ -108,6 +108,16 @@ static void __init mpc85xx_cds_pci_irq_fixup(struct pci_dev *dev)
108 } 108 }
109} 109}
110 110
111static void __devinit skip_fake_bridge(struct pci_dev *dev)
112{
113 /* Make it an error to skip the fake bridge
114 * in pci_setup_device() in probe.c */
115 dev->hdr_type = 0x7f;
116}
117DECLARE_PCI_FIXUP_EARLY(0x1957, 0x3fff, skip_fake_bridge);
118DECLARE_PCI_FIXUP_EARLY(0x3fff, 0x1957, skip_fake_bridge);
119DECLARE_PCI_FIXUP_EARLY(0xff3f, 0x5719, skip_fake_bridge);
120
111#ifdef CONFIG_PPC_I8259 121#ifdef CONFIG_PPC_I8259
112#warning The i8259 PIC support is currently broken 122#warning The i8259 PIC support is currently broken
113static void mpc85xx_8259_cascade(unsigned int irq, struct irq_desc *desc) 123static void mpc85xx_8259_cascade(unsigned int irq, struct irq_desc *desc)