skge: Add DMA mask quirk for Marvell 88E8001 on ASUS P5NSLI motherboard
authorGraham Gower <graham.gower@gmail.com>
Mon, 8 Oct 2012 08:34:50 +0000 (08:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2012 18:46:35 +0000 (14:46 -0400)
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 <graham.gower@gmail.com>
Signed-off-by: Jan Ceuleers <jan.ceuleers@computer.org>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/skge.c

index 91836b54da356a180eecb31d38fc2685c86c30bf..3f7dab46626b59f254483b3d1cb98e351e675ea0 100644 (file)
@@ -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")
+               },
+       },
        {}
 };