Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754239Ab0BIXEJ (ORCPT ); Tue, 9 Feb 2010 18:04:09 -0500 Received: from cavan.codon.org.uk ([93.93.128.6]:46838 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751436Ab0BIXEH (ORCPT ); Tue, 9 Feb 2010 18:04:07 -0500 From: Matthew Garrett To: e1000-devel@lists.sourceforge.net Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Matthew Garrett Subject: [PATCH 2/2] e1000e: Don't disable jumbo frames on 82537L due to eeprom contents Date: Tue, 9 Feb 2010 18:03:50 -0500 Message-Id: <1265756630-8093-2-git-send-email-mjg@redhat.com> X-Mailer: git-send-email 1.6.6.1 In-Reply-To: <1265756630-8093-1-git-send-email-mjg@redhat.com> References: <1265756630-8093-1-git-send-email-mjg@redhat.com> X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 209.6.34.250 X-SA-Exim-Mail-From: mjg@redhat.com X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1280 Lines: 40 According to the 82537L errata, jumbo frames will work correctly if ASPM is disabled. Since we disable ASPM on these devices, leave jumbo frames enabled. Signed-off-by: Matthew Garrett --- drivers/net/e1000e/82571.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index 02d67d0..2df00cc 100644 --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c @@ -381,18 +381,6 @@ static s32 e1000_get_variants_82571(struct e1000_adapter *adapter) if (pdev->device == E1000_DEV_ID_82571EB_SERDES_QUAD) adapter->flags &= ~FLAG_HAS_WOL; break; - - case e1000_82573: - if (pdev->device == E1000_DEV_ID_82573L) { - if (e1000_read_nvm(&adapter->hw, NVM_INIT_3GIO_3, 1, - &eeprom_data) < 0) - break; - if (!(eeprom_data & NVM_WORD1A_ASPM_MASK)) { - adapter->flags |= FLAG_HAS_JUMBO_FRAMES; - adapter->max_hw_frame_size = DEFAULT_JUMBO; - } - } - break; default: break; } -- 1.6.6.1 -- 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/