Re: Programmatically get ethernet interface speed?

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Wed Jul 11 2001 - 20:51:42 EST


"David S. Miller" wrote:
>
> Andrew Morton writes:
> > Seems that only sunhme and acenic implement this at present.
>
> Add ioc3-eth and starfire to that list.
>
> ? egrep ETHTOOL_GSET drivers/net/*.c
> drivers/net/acenic.c: if (ecmd.cmd == ETHTOOL_GSET) {
> drivers/net/ioc3-eth.c: if (ecmd.cmd == ETHTOOL_GSET) {
> drivers/net/starfire.c: case ETHTOOL_GSET:
> drivers/net/sunhme.c: if (ecmd.cmd == ETHTOOL_GSET) {
> ?

And the code I posted a month ago or so adds the capability to many net
drivers at once.

-- 
Jeff Garzik      | A recent study has shown that too much soup
Building 1024    | can cause malaise in laboratory mice.
MandrakeSoft     |
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:25 EST