On Mon, 1 Mar 1999, Poul-Henning Kamp wrote:
> In message <199903011751.kaa03...@mt.sri.com>, Nate Williams writes:
> >> > !                 * If the LINK1 flag is set, it means the underlying 
> >> > interface
> >> > !                 * can do VLAN tag insertion itself and doesn't require 
> >> > us to
> >> > !                 * create a special header for it. In this case, we 
> >> > just pass
> >> 
> >> Are we certain that all drivers are now doing if_media and no longer
> >> using IFF_LINK1 for that purpose?
> >
> >I believe the old isa devices do not use if_media, but I could be
> >wrong.  (if_ep comes to mind....)
> 
> And some new PCI devices doesn't either because if_media is hopelessly
> narrowtrack for real world devices :-(

As much as if_media sucks, it does have the ability to be extended in a
fariety of useful ways.  I'm fairly sure that once you get over the grotty
mess of code needed to use it in a given driver it will offer a much
better solution than the IFF_LINK[0-2] in terms of interface media
selection.  The fact that ifconfig can present a standard interface to the
user without them having to reference manual pages to determine the
semantics of the various link flags in the context of each different
driver is an obvious win.

Reply via email to