On Tuesday 26 October 2004 02:40, Pavel Machek wrote: > Hi! > > Does this look like a way to go? I created special type for pci power > state, because otherwise it is too tempting to pass system power level > (or something completely unrelated :) to pci_ functions. Yes, we should have someting like this. This is a case where all the PCI drivers need to change now, right? > I'm not sure if PCI_D3cold should be included like > this. pci_enable_wake at least ignores it... I'd include it, just to change the API the least. The D3cold state gets saved in pdev->current_state, and some drivers allegedly care. - Dave