Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 15:38:17 +0100
From:      Dimitry Andric <dim@xs4all.nl>
To:        Barney Wolff <barney@databus.com>
Cc:        "Jose M. Alcaide" <jose@we.lc.ehu.es>, John Hoover <johnhoover@home.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Realtek 8139
Message-ID:  <133020112.20011130153817@xs4all.nl>
In-Reply-To: <20011129134536.A23096@tp.databus.com>
References:  <000001c178f5$d9e579e0$c801a8c0@internal.unknown> <78613144074.20011129180510@xs4all.nl> <20011129182803.L346@v-ger.we.lc.ehu.es> <20011129134536.A23096@tp.databus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2001-11-29 at 19:45:36 Barney Wolff wrote:

BW> If by chance a card is in full-duplex,
BW>   ifconfig xx0 -mediaopt full-duplex
BW> will turn it off.  rtfm ifconfig(1).

Of course, but ifconfig(1) says to "refer to the interfaces' driver
specific man page for a complete list of available options", and then
rl(4) says:

     The rl driver supports the following media options:

     full-duplex           Force full duplex operation

     half-duplex           Force half duplex operation.

So this last entry is clearly incorrect. It should probably say
something like "if you don't specify full-duplex, the default is
half-duplex".

Now everybody who reads this man page for the first time will try:

    ifconfig rl0 mediaopt half-duplex

only to find that it doesn't work as advertised (you'll SIOCSIFMEDIA:
Device not configured). If there's a need, I'll shoot in a PR for this
one... :)

Cheers,
- --
Dimitry Andric <dim@xs4all.nl>
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm

iQA/AwUBPAeLzrBeowouIJajEQIoMQCcDGTIJC/BMuZZFPIp/YPxSLMKzboAoNTC
hk20VOx4alSMXQLbB9j2DB3A
=TFKC
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?133020112.20011130153817>