> On 14/04/2008, Cathy Zhou <Cathy.Zhou at sun.com> wrote: > > > > Having them appear here means that the implementor of any MAC driver > > needs to understand whether or not they should implement those > > functions. Is there a way we can avoid them having to think about it > > given that only softmac will ever need to use this? > > > > It is not true. Only a GLDv3 driver which supports MAC_CAPAB_LEGACY capability > needs to implement those callbacks, and softmac is the only GLDv3 driver > capable of MAC_CAPAB_LEGACY. >
Would it perhaps be possible to make softmac a plug type of its own (mac_dlpi?) and then allow there to be type specific entry points? I'm sure there are probably other mac module <-> driver interactions that only make sense for a subset of media types. Paul -- Paul Durrant http://www.linkedin.com/in/pdurrant
