Subject: Re: pmf(9): shutdown & D1/D2 states
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 12/25/2007 14:35:07
On Mon, Dec 24, 2007 at 12:58:00AM -0500, Greg Troxel wrote:
> We have 4 states, and thus a key qusetion is if arbitrary transitions
> (12 of them!) are allowed, or only D0<>Dn for n!=0, which is 6.  Perhaps
> the resume callback takes it from any of D[123] to D0.

At least for PCI, only D0 -> Dn and Dn -> D0 are allowed. I think in
general that is a fine requirement.

Joerg