Re: [RFC] Configuring synchronous interfaces in Linux

From: Francois Romieu (romieu@cogenit.fr)
Date: Fri Dec 01 2000 - 08:00:42 EST


Russell King <rmk@arm.linux.org.uk> é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 ?

-- 
Ueimor
-
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:07 EST