Paul Durrant wrote: >> 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. > Do you mean make softmac a new mac type? I don't think that is correct approach. MAC type is about the frame format etc. softmac actually can support legacy network devices of all mac types, not limited to Ethernet (as long as that mac type plugin is supported).
Thanks - Cathy
