netdev
[Top] [All Lists]

Re: [PATCH] r8169: support restricting speed+duplex in autonegotiation

To: Francois Romieu <romieu@xxxxxxxxxxxxx>
Subject: Re: [PATCH] r8169: support restricting speed+duplex in autonegotiation
From: Richard Dawe <rich@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 May 2005 21:39:21 +0100
Cc: Ben Greear <greearb@xxxxxxxxxxxxxxx>, Linux netdev <netdev@xxxxxxxxxxx>
In-reply-to: <20050528144207.GA17021@xxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <4297A0F7.5070209@xxxxxxxxxxxxxxxxxxxx> <4297B479.1080404@xxxxxxxxxxxxxxx> <429871F9.6040305@xxxxxxxxxxxxxxxxxxxx> <20050528144207.GA17021@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.7.8-1.3.1
Hello.

Francois Romieu wrote:
Richard Dawe <rich@xxxxxxxxxxxxxxxxxxxx> :
[...]

This particular code is to support the "media" option for the r8169 module. The "media" option is marked as deprecated in favour of ethtool.


The current code is supposed to provide via ethtool the same function that
the media option did in Realtek's version of the driver (i.e. mostly a
current 'ethtool -s ethX autoneg off speed foo duplex bar').

AFAICS the current r8169 driver always autonegotiates in xMII mode.

Afaik, neither in Realtek's code nor in the current in-kernel driver does
the (obsolescent) "media" code do what one would expect from a "media"
option.

My patch doesn't change the behaviour of the "media" option.

Is the "media" part of the patch confusing?

Bye, Rich =]

--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]

"You can't evaluate a man by logic alone."
  -- McCoy, "I, Mudd", Star Trek

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