[Top] [All Lists]

Re: [RFC] Configuring synchronous interfaces in Linux

To: Russell King <rmk@xxxxxxxxxxxxxxxx>
Subject: Re: [RFC] Configuring synchronous interfaces in Linux
From: Francois Romieu <romieu@xxxxxxxxxx>
Date: Fri, 1 Dec 2000 14:00:42 +0100
Cc: Chris Wedgwood <cw@xxxxxxxx>, Ivan Passos <lists@xxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <200012011207.eB1C78523251@xxxxxxxxxxxxxxxxxxxxxx>
References: <20001201233227.A9457@xxxxxxxxxxxxxxxxxxx> <200012011207.eB1C78523251@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Russell King <rmk@xxxxxxxxxxxxxxxx> écrit :
> 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>]

Ok. Hmmm... If I want to do something like 
'ifconfig scc0 media some_frequency up' as I hope to set scc0 as a DCE (or 
ifconfig scc0 media auto up' for a DTE), I must teach ifconfig.c to 
distinguish Ethernet and synchrone interface based on interface.type, right ? 


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