This is not enough, because the PM code doesn't change system_state and
it uses pci_set_power_state too.
Well, I'm not really sure. The drivers are where the bug is.
This breaks suspend/hibernation, doesn't it? Surely, we want to put devices
into D3 when going for suspend, for example.
That's apart from the fact that the 'state == PCI_D3cold' is redundant.
I don't like this at all, sorry.
I thought we were supposed to avoid using system_state in such a way,
apart from the other things.
Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html