Re: [GIT PULL] PM updates for 2.6.33

Linus Torvalds
2009-12-06T01:50:12Z

On Sun, 6 Dec 2009, Rafael J. Wysocki wrote:
>
> > Multi-function PCI devices commonly share registers - they're on the same
> > chip, after all. And even when the _hardware_ is totally independent, we
> > often have discovery rules and want to initialize in order because different
> > drivers will do things like unregister entirely on suspend, and then
> > re-register on resume.
>
> Do any of the PCI drivers do that?

It used to be common at least for ethernet - there were a number of
drivers that essentially did the same thing on suspend/resume and on
module unload/reload.

The point is, I don't know. And neither do you. It's much safer to just do
drivers one by one, and not touch drivers that people don't test.

Linus