Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946534AbWKAF4Y (ORCPT ); Wed, 1 Nov 2006 00:56:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946223AbWKAFgK (ORCPT ); Wed, 1 Nov 2006 00:36:10 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:16327 "EHLO sous-sol.org") by vger.kernel.org with ESMTP id S1946149AbWKAFf1 (ORCPT ); Wed, 1 Nov 2006 00:35:27 -0500 Message-Id: <20061101053541.928017000@sous-sol.org> References: <20061101053340.305569000@sous-sol.org> User-Agent: quilt/0.45-1 Date: Tue, 31 Oct 2006 21:33:46 -0800 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , torvalds@osdl.org, akpm@osdl.org, alan@lxorguk.ukuu.org.uk, Stephen Hemminger , Greg Kroah-Hartman Subject: [PATCH 06/61] sky2: pause parameter adjustment Content-Disposition: inline; filename=sky2-pause-parameter-adjustment.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1277 Lines: 35 -stable review patch. If anyone has any objections, please let us know. ------------------ From: Stephen Hemminger The lower pause threshold set by the driver is too large and causes FIFO overruns. Especially on laptops running at slower clock rates. Signed-off-by: Stephen Hemminger Signed-off-by: Greg Kroah-Hartman Signed-off-by: Chris Wright --- drivers/net/sky2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.18.1.orig/drivers/net/sky2.c +++ linux-2.6.18.1/drivers/net/sky2.c @@ -678,7 +678,7 @@ static void sky2_mac_init(struct sky2_hw sky2_write16(hw, SK_REG(port, TX_GMF_CTRL_T), GMF_OPER_ON); if (hw->chip_id == CHIP_ID_YUKON_EC_U) { - sky2_write8(hw, SK_REG(port, RX_GMF_LP_THR), 768/8); + sky2_write8(hw, SK_REG(port, RX_GMF_LP_THR), 512/8); sky2_write8(hw, SK_REG(port, RX_GMF_UP_THR), 1024/8); if (hw->dev[port]->mtu > ETH_DATA_LEN) { /* set Tx GMAC FIFO Almost Empty Threshold */ -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/