OSDN Git Service

net: ethernet: ti: cpsw: disable mq feature for "AM33xx ES1.0" devices
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Wed, 16 May 2018 22:21:45 +0000 (01:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 19:11:55 +0000 (15:11 -0400)
commit9611d6d6e24cd40ff887bdbb4dfe36a2ee88d488
treecad70b48c53c4520836077295e7b1a9f8bd7c813
parent4b9c77680375f5ecb7d2c4bc4c0db67cdf531c09
net: ethernet: ti: cpsw: disable mq feature for "AM33xx ES1.0" devices

The early versions of am33xx devices, related to ES1.0 SoC revision
have errata limiting mq support. That's the same errata as
commit 7da1160002f1 ("drivers: net: cpsw: add am335x errata workarround for
interrutps")

AM33xx Errata [1] Advisory 1.0.9
http://www.ti.com/lit/er/sprz360f/sprz360f.pdf

After additional investigation were found that drivers w/a is
propagated on all AM33xx SoCs and on DM814x. But the errata exists
only for ES1.0 of AM33xx family, limiting mq support for revisions
after ES1.0. So, disable mq support only for related SoCs and use
separate polls for revisions allowing mq.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c