net: fec: add ERR007885 for i.MX6ul enet IP
authorFugang Duan <fugang.duan@nxp.com>
Tue, 11 Apr 2017 11:13:08 +0000 (19:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Apr 2017 18:36:28 +0000 (14:36 -0400)
The errata ERR007885 HW fix don't add to i.MX6ul ENET IP version,
so add sw workaroud for the chip.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c

index f3a783541eeac13658aedca22ddca847f22210b0..a92bf94f8e94321899c28da6d36d6b9d30d571a5 100644 (file)
@@ -117,8 +117,9 @@ static struct platform_device_id fec_devtype[] = {
                .name = "imx6ul-fec",
                .driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_HAS_GBIT |
                                FEC_QUIRK_HAS_BUFDESC_EX | FEC_QUIRK_HAS_CSUM |
-                               FEC_QUIRK_HAS_VLAN | FEC_QUIRK_BUG_CAPTURE |
-                               FEC_QUIRK_HAS_RACC | FEC_QUIRK_HAS_COALESCE,
+                               FEC_QUIRK_HAS_VLAN | FEC_QUIRK_ERR007885 |
+                               FEC_QUIRK_BUG_CAPTURE | FEC_QUIRK_HAS_RACC |
+                               FEC_QUIRK_HAS_COALESCE,
        }, {
                /* sentinel */
        }