From mboxrd@z Thu Jan 1 00:00:00 1970 From: Auke Kok Subject: Re: mii-tool gigabit support. Date: Wed, 27 Sep 2006 10:50:03 -0700 Message-ID: <451AB9CB.6010906@intel.com> References: <20060926145113.7a6791c8@freekitty> <4519A1D6.1050802@pobox.com> <20060926150947.3d538547@freekitty> <451A7603.1030204@roinet.com> <451AAFFE.2020607@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Acker , Stephen Hemminger , Jeff Garzik , dhinds@pcmcia.sourceforge.org, netdev@vger.kernel.org Return-path: Received: from mga01.intel.com ([192.55.52.88]:30904 "EHLO mga01.intel.com") by vger.kernel.org with ESMTP id S1030504AbWI0Rw0 (ORCPT ); Wed, 27 Sep 2006 13:52:26 -0400 To: Rick Jones In-Reply-To: <451AAFFE.2020607@hp.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Rick Jones wrote: >> With mii-tool we can do the command below and work with a half duplex >> hub and a full duplex switch. >> mii-tool -A 10baseT-FD,10baseT-HD eth0 > > Why, and how often, is that really necessary? This is a bit of a hypothetical discussion of course, but I can imagine a lot of users with 100mbit switches in their homes (imagine all the DSL/cable routers out there...) that want to stop their nic from attempting to negotiate 1000mbit. Another scenario: forcing the NIC to negotiate only full-duplex speeds. Not only fun if you try it against a hub, but possibly useful. For us it's much more interesting because we try every damn impossible configuration anyway and see what gives (or breaks). Anyway, a patch to make ethtool do this was merged as Jeff Kirsher pointed out, so you can do this now with ethool too. Cheers, Auke