Re: [patch 2.6.12 (repost w/ corrected subject)] pci: restore BARvalues in pci_enable_device_bars

From: David S. Miller
Date: Fri Jul 08 2005 - 02:35:22 EST


From: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Jul 2005 11:03:58 +0400

> On Thu, Jul 07, 2005 at 11:35:30PM -0700, David S. Miller wrote:
> > That's fine, what would be the most minimal implementation?
>
> #define pci_update_resource(dev, res, n) BUG()
>
> No, I'm serious - I don't believe that generic implementation of
> pcibios_resource_to_bus() in the proposed patch does the right thing
> on sparc64 anyway.

We really don't do power management on sparc64 at all currently,
besides cpufreq, so I guess this would be OK.

Do PCI devices ever come out of reset in a PM state, and thus
would execute John's new code as a side effect?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/