netdev
[Top] [All Lists]

Re: [RFC] Configuring synchronous interfaces in Linux

To: cw@xxxxxxxx (Chris Wedgwood)
Subject: Re: [RFC] Configuring synchronous interfaces in Linux
From: Russell King <rmk@xxxxxxxxxxxxxxxx>
Date: Fri, 1 Dec 2000 12:07:08 +0000 (GMT)
Cc: romieu@xxxxxxxx, lists@xxxxxxxxxxxx (Ivan Passos), linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20001201233227.A9457@metastasis.f00f.org> from "Chris Wedgwood" at Dec 01, 2000 11:32:27 PM
Sender: owner-netdev@xxxxxxxxxxx
Chris Wedgwood writes:
> Actually; Ethernet badly needs something like this too. I would kill
> to be able to do something like:
> 
>       ifconfig eth0 speed 100 duplex full
> 
> o across different networks cards -- I've been thinking about it of
> late as I had to battle with this earlier this week; depending on
> what network card you use, you need different magic incarnations to
> do the above.
> 
> A standard interface is really needed; unless anyone objects I may
> look at drafting something up -- but it will require some input if it
> is not to look completely Ethernet centric.

We already have a standard interface for this, but many drivers do not
support it.  Its called "ifconfig eth0 media xxx":

bash-2.04# ifconfig --help
Usage:
  ifconfig [-a] [-i] [-v] [-s] <interface> [[<AF>] <address>]
...
  [mem_start <NN>]  [io_addr <NN>]  [irq <NN>]  [media <type>]
...
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        rmk@xxxxxxxxxxxxxxxx      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

<Prev in Thread] Current Thread [Next in Thread>