]> git.baikalelectronics.ru Git - kernel.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)
commitac940d8a897ebda40ba9b6f3d2d311d1c8922923
treee4b919a6199fdcaa35eac225c6fa34c0cc5b2a16
parent7010410c94414a2aa483e56b138aa763e6896986
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