From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graham Gower Subject: [PATCH v2] skge: Add DMA mask quirk for Marvell 88E8001 on ASUS P5NSLI motherboard. Date: Mon, 08 Oct 2012 16:03:44 +1030 Message-ID: <507265B8.5070406@gmail.com> References: <50711961.1010101@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: netdev@vger.kernel.org, Stephen Hemminger Return-path: Received: from mail-pa0-f46.google.com ([209.85.220.46]:35112 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751332Ab2JHFdo (ORCPT ); Mon, 8 Oct 2012 01:33:44 -0400 Received: by mail-pa0-f46.google.com with SMTP id hz1so3609057pad.19 for ; Sun, 07 Oct 2012 22:33:44 -0700 (PDT) In-Reply-To: <50711961.1010101@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: Marvell 88E8001 on an ASUS P5NSLI motherboard is unable to send/receive packets on a system with >4gb ram unless a 32bit DMA mask is used. This issue has been around for years and a fix was sent 3.5 years ago, but there was some debate as to whether it should instead be fixed as a PCI quirk. http://www.spinics.net/lists/netdev/msg88670.html However, 18 months later a similar workaround was introduced for another chipset exhibiting the same problem. http://www.spinics.net/lists/netdev/msg142287.html Signed-off-by: Graham Gower --- a/drivers/net/ethernet/marvell/skge.c +++ b/drivers/net/ethernet/marvell/skge.c @@ -4143,6 +4143,13 @@ DMI_MATCH(DMI_BOARD_NAME, "nForce"), }, }, + { + .ident = "ASUS P5NSLI", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."), + DMI_MATCH(DMI_BOARD_NAME, "P5NSLI") + }, + }, {} };