On Mon, 2004-11-01 at 18:00 -0700, David Brownell wrote: > On Monday 01 November 2004 12:26, Pavel Machek wrote: > > Hi! > > > > This adapts few drivers to type-safe pci powermanagment. I introduced > > device_to_pci_state helper that will be usefull to few drivers... Does > > it look okay? > > I'd rather have something like the attached patch. > Fixed policy mappings are generically broken; what > about devices that don't support PCI_D2? > > This should I guess use the new "pci_power_t", but > I'm not that current yet. Your snipped (please, inline, don't attach) would mean D2 is to be preferred over D3 at all times ? Ben.