> This makes sense for a shutdown, and suspend-to-disk, but not for
> a reboot imo (senseless spinning down/up of drives).
> So some means is probably going to be needed for drivers to
> distinguish between a reboot & shutdown/suspend.
I'd guess 'suspend' callback would handle this, and suspend already has
"state we want to enter" as a parameter.
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/