Subject: Re: interface power management
To: Chris Torek <torek@BSDI.COM>
From: Johan Danielsson <>
List: tech-kern
Date: 02/28/2000 11:48:20
Chris Torek <torek@BSDI.COM> writes:

> >Doesn't [power management] belong in struct device and/or cfattach?
> I would say no, or at least "not yet": power management is by no
> means universal yet

And if we limit this to raw turn-this-piece-of-hardware-on? For
reference, the way it's done now is by having:

        if(!sc->enabled && sc->enable)
        sc->enabled = 1;

for all values of `foo'. Even defining a common `struct dev_enable'
would be a win.