Re: [RFC-2] Configuring Synchronous Interfaces in Linux

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Dec 07 2000 - 09:40:04 EST


> > struct hdlc_protocol
> > struct fr_protocol
> > struct eth_physical
>
> Not yet another one for eth... We now have ethtool for this. And a
> generic netdevice::set_config wrapper can be created that simply calls
> the ethtool ioctl with the proper info and locking.

There I disagree. I would do it the other way up. Post 2.4 you make the
ethtool ioctl simply build an eth_physical and run in that way. Right now
the ethtool stuff is a bit hackish and cannot handle upcoming real world
situations such as setting the cryptokey for onboard crypto on ethernet
cards, or handling devices that present themselves as ethernet but are not
at the physical layer being remotely honest about it.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:17 EST