lkml.org 
[lkml]   [2000]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] Configuring synchronous interfaces in Linux
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:51    [W:0.095 / U:3.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site