net: bcmgenet: Poll internal PHY for GENETv5
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 11 Oct 2018 22:06:33 +0000 (15:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:10:21 +0000 (22:10 -0700)
commit64bd9c8135751b561f27edaaffe93d07093f81af
tree63c938edeb3043479e7ab3b3d0b416345534a45a
parentd6672a5a97918f92bf2f3a2591f25d02bb0897a4
net: bcmgenet: Poll internal PHY for GENETv5

On GENETv5, there is a hardware issue which prevents the GENET hardware
from generating a link UP interrupt when the link is operating at
10Mbits/sec. Since we do not have any way to configure the link
detection logic, fallback to polling in that case.

Fixes: 421380856d9c ("net: bcmgenet: add support for the GENETv5 hardware")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmmii.c