Re: Solving suspend-level confusion

From: Nigel Cunningham
Date: Thu Aug 05 2004 - 17:40:45 EST


Hi again.

On Wed, 2004-08-04 at 15:03, Benjamin Herrenschmidt wrote:
> That's where the whole confusion is indeed... and why we need to make
> that clear. The IDE driver will sleep the disk for 3 and keep it spinning
> for 4

Okay. So that leaves me calling device_suspend(4) when I want to quiesce
the driver but not spin down and device_suspend(3) when I want to power
down. Does that sound right? It sounds hairy to me. (Do other drivers
treat 3 and 4 in the same way?)

Nigel

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