Subject: Re: resource allocation, pcmcia, isapnp, etc.
To: None <Lloyd.Parkes@vuw.ac.nz>
From: Warner Losh <firstname.lastname@example.org>
Date: 06/21/1999 14:24:10
In message <199906202305.LAA18077@scott.geo.vuw.ac.nz> Lloyd.Parkes@vuw.ac.nz writes:
: NetBSD drivers already have the opportunity to register a device
: activation handler which is supposed to handle DVACT_ACTIVATE and
: DVACT_DEACTIVATE requests. I think it would be quite feasible to define
: DVACT_SUSPEND. I've raised the issue of using config_activate and
: config_deactivate more widely before. For instance, AFAIK there isn't a
: need to activate a network interface until you bring it up.
You'll also need a DVACT_RESUME as well....
Also, with newbus there is no registration required. Just add an
entry in the device's method table.