aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
authorKyle McMartin <kyle@shortfin.cabal.ca>2007-12-06 12:38:26 -0500
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-12-06 12:38:26 -0500
commit84f4506cb788d85a50c97b399f2999f90e6272b0 (patch)
treef48a77710afe18695affae7a067d0bcb16f93ebe /drivers/parisc
parent721fdf34167580ff98263c74cead8871d76936e6 (diff)
[PARISC] lba_pci: pci_claim_resources disabled expansion roms
radeonfb was HPMC-ing my C8000 by trying to map its expansion rom from IO_VIEW, instead of PA_VIEW. Fix seems to be to ensure that its disabled ROM is properly inserted into the resource tree. FIXME: this will result in a whinging printk for cards which share expansion ROMS, such as a quad tulip. Thankfully, it isn't harmful. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/lba_pci.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c
index 5eace9e66e1..66ce6104836 100644
--- a/drivers/parisc/lba_pci.c
+++ b/drivers/parisc/lba_pci.c
@@ -768,9 +768,13 @@ lba_fixup_bus(struct pci_bus *bus)
768 DBG("lba_fixup_bus() WTF? 0x%lx [%lx/%lx] XXX", 768 DBG("lba_fixup_bus() WTF? 0x%lx [%lx/%lx] XXX",
769 res->flags, res->start, res->end); 769 res->flags, res->start, res->end);
770 } 770 }
771 if ((i != PCI_ROM_RESOURCE) || 771
772 (res->flags & IORESOURCE_ROM_ENABLE)) 772 /*
773 pci_claim_resource(dev, i); 773 ** FIXME: this will result in whinging for devices
774 ** that share expansion ROMs (think quad tulip), but
775 ** isn't harmful.
776 */
777 pci_claim_resource(dev, i);
774 } 778 }
775 779
776#ifdef FBB_SUPPORT 780#ifdef FBB_SUPPORT