]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sh: Fix up IORESOURCE_PCI_FIXED usage in pcibios_fixup_device_resources().
authorPaul Mundt <lethal@linux-sh.org>
Mon, 7 Jun 2010 02:42:01 +0000 (11:42 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 7 Jun 2010 02:42:01 +0000 (11:42 +0900)
commit9973e38575070b70c68bad177fb5056548fea349
treee4b919a6199fdcaa35eac225c6fa34c0cc5b2a16
parent42edb1d306d7941405b5ba5e7599ea99fc4bdf5a
sh: Fix up IORESOURCE_PCI_FIXED usage in pcibios_fixup_device_resources().

pcibios_fixup_device_resources() presently skips over resources flagged
with IORESOURCE_PCI_FIXED, which is a remnant of the old PCI-auto code.
The only user for this at present is the Dreamast GAPSPCI code which
can't tolerate any adjustments to the BARs, but a combination of the
IORESOURCE_PCI_FIXED and zeroed out hose offsets does the right thing for
this case already, so we simply kill off the special casing.

Reported-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pci.c