public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* IORESOURCE_PCI_FIXED usage in pcibios_fixup_device_resources()
@ 2010-06-03 22:38 Bjorn Helgaas
  2010-06-04  0:42 ` Paul Mundt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bjorn Helgaas @ 2010-06-03 22:38 UTC (permalink / raw)
  To: linux-sh

The SH implementation of pcibios_fixup_device_resources() does the
equivalent of pcibios_bus_to_resource() for all the resources of a
device, except that it skips resources with the IORESOURCE_PCI_FIXED
flag set.

This looks like a bug to me.  IORESOURCE_PCI_FIXED means the resource
cannot be moved, not that we should skip pcibios_bus_to_resource().

Does anybody know why pcibios_fixup_device_resources() does this check?

The only other IORESOURCE_PCI_FIXED reference I see in arch/sh is in
gapspci_fixup_resources(), so maybe it has something to do with that?

Bjorn

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-07  3:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 22:38 IORESOURCE_PCI_FIXED usage in pcibios_fixup_device_resources() Bjorn Helgaas
2010-06-04  0:42 ` Paul Mundt
2010-06-04 16:04 ` Bjorn Helgaas
2010-06-07  3:05 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox