]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 15 Oct 2019 17:45:47 +0000 (10:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Oct 2019 04:00:12 +0000 (21:00 -0700)
commit408247811196d5aa9284fa26206f6da3717d7655
tree1d222795a508dc6e7b05a14bd5183b81bdc875ae
parent35c538b5e5c554ab200f20cba1f965f31d9bb00a
net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3

The RGMII_MODE_EN bit value was 0 for GENET versions 1 through 3, and
became 6 for GENET v4 and above, account for that difference.

Fixes: 02583f325ba4 ("net: bcmgenet: add MDIO routines")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.h
drivers/net/ethernet/broadcom/genet/bcmmii.c