[linux-pm] PM:Different idea for callbacks, smoother evolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 4 Dec 2004, Pavel Machek wrote:

> Step 3: switch from typedef int suspend_message_t to typedef struct
> ... suspend_message_t, and fix the few pci_power_t (and similar)
> functions. We are done at this point.

Are you planning on suspend_message_t a structure, or a pointer to
structure?

> Hmm, fixing USB will be little trickier, as they do not have any info
> passed down their suspend() callbacks... They really should pass
> suspend_message_t down to the drivers.

The USB development tree hasn't imported the suspend_message_t stuff yet.  
But the routines do pass the old u32 state argument.  The upgrade path is 
clear.

Alan Stern



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux