Re: [RFC] Configuring synchronous interfaces in Linux

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat Dec 02 2000 - 14:46:01 EST


Jeff Garzik writes:
> Does 'ifconfig eth0 media xxx' wind up calling dev->set_config?

Yes. See drivers/acorn/net/etherh.c for an(other) example driver
supporting 10baseT and 10base2.

> If yes, my guess is correct, I think the proper solution is to:
> * create a generic set_config, which does nothing but convert the calls'
> semantics into ethtool semantics, and
> * add ethtool support to the specific driver

Sounds logical.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |
-
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:09 EST