From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: [PATCH 2.6.11 7/8] tg3: Fix ethtool set functions Date: Wed, 23 Mar 2005 11:14:21 -0800 Message-ID: <20050323111421.372c20a3.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@oss.sgi.com To: "Michael Chan" In-Reply-To: Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Mon, 21 Mar 2005 00:13:07 -0800 "Michael Chan" wrote: > Fix all relevant ethtool set functions to properly handle the > !netif_running() case. In most cases, the new settings are accepted without > setting the hardware if !netif_running(). The new settings will take effect > when the device is subsequently brought up. tg3_nway_reset() is the exception > where it will return -EAGAIN if !netif_running(). > > Signed-off-by: Michael Chan Applied, thanks Michael.