On St 28-09-05 17:13:44, Alan Stern wrote: > On Wed, 28 Sep 2005, Pavel Machek wrote: > > > > The problem that no pm_message_t is passed to resume routines. > > > > > > Another solution would be to create a globally-available subroutine, > > > something like: > > > > > > int resuming_from_disk(void) > > > > No. We do not have freezing_devices() nor suspending_devices(), and we > > should not have this one. > > Well, it would be a lot easier than changing all the resume routines. > > Do you have some reason for not allowing this? Yes, it is ugly and inconsistent. Pavel -- if you have sharp zaurus hardware you don't need... you know my address