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