Re: [patch] Device model update (with power state transitions)

From: Pavel Machek (pavel@suse.cz)
Date: Tue Mar 26 2002 - 14:08:43 EST


Hi!

> 3. Adds the routines for power state transitions:
>
> - device_suspend - forward iteration of list, calling suspend callback of
> each node
> - device_resume - backward iteration of list, calling resume callback of
> each node
> - device_shutdown - forward iteration of list, calling remove callback of
> each node
>
> This should provide the mechanism for replacing the reboot notifiers and
> doing properly ordered power management transtions. Comments welcome.
>
> Testing welcome also, though I wouldn't expect one to get very far, since
> they're not actually used. ;) Which, brings up another question - what

Well, I have patches for S3 that rely on them... I can post them to the
list if it helps testing ;-).

                                                                Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:14 EST