On Sep 5, 2009, at 2:44 PM, David Young wrote:
I think that we would add callbacks to many, many softc's, like we didwith the enable/disable routines. Lots of code would be duplicated. I am gradually replacing those routines with self-suspension. PMF shouldhandle bus-independent/bus-dependent suspend/resume, too. Let the programmer of drivers add a bus-dependent PMF hook in the busattachment routine, and a bus-independent PMF hook in the generic attachroutine. Something like this, for example,
Yah, we could just define a protocol for PMF to call, and bus-specific subclasses can provide their own methods as necessary.
Oh, nevermind. -- thorpej