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

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

 



Hi!

> > 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?

Structure. It will probably have just two fields, int event, int flags.

> > 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.

Ok, good.
								Pavel

-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!


[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