Hi! > The pm_ops.pm_disk_mode is used in totally bogus ways since > nobody really seems to understand what it actually does. Well, I believe me and Rafael understand it by now... > ACPI is the only user left with a non-zero pm_disk_mode. > > The patch also sets the default mode to shutdown again, but > when a new pm_ops is registered its pm_disk_mode is selected > as default, that way the default stays for ACPI where it is > apparently required. Ok. > Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > Cc: David Brownell <david-b@xxxxxxxxxxx> > Cc: Pavel Machek <pavel@xxxxxx> > Cc: linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx ACK, not 2.6.21 material. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm