Subject: Re: PNP power management API for drivers
To: Matt Thomas <matt@3am-software.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 10/16/2007 09:32:19
On Oct 5, 2007, at 6:56 PM, Matt Thomas wrote:

> void pnp_domain_join(device_t domain, device_t self)

Is it really appropriate to represent the power domain as a device_t?   
I'm beginning to thing that representing all of these control  
structures as devices is wrong-headed.


>
>
> Where I'd have
>
> power* at mainbus?
>
> and supply the domain in attach_args.

-- thorpej