From: Graham Gower Date: Mon, 8 Oct 2012 08:34:50 +0000 (+0000) Subject: skge: Add DMA mask quirk for Marvell 88E8001 on ASUS P5NSLI motherboard X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2af139ff1cd85df586690ff626619ab1ee88b0a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git skge: Add DMA mask quirk for Marvell 88E8001 on ASUS P5NSLI motherboard 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 Signed-off-by: Jan Ceuleers Acked-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/skge.c b/drivers/net/ethernet/marvell/skge.c index 91836b54da35..3f7dab46626b 100644 --- a/drivers/net/ethernet/marvell/skge.c +++ b/drivers/net/ethernet/marvell/skge.c @@ -4155,6 +4155,13 @@ static struct dmi_system_id skge_32bit_dma_boards[] = { DMI_MATCH(DMI_BOARD_NAME, "nForce"), }, }, + { + .ident = "ASUS P5NSLI", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."), + DMI_MATCH(DMI_BOARD_NAME, "P5NSLI") + }, + }, {} };