Re: [PATCH] devexit fixes in i82092.c

Pavel Machek
2002-03-21T19:57:43Z

Hi!

> 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.