]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 17:46:43 +0000 (18:46 +0100)
commita9139adf0a366eaa4deb30fee83ff5c9e8222f6e
tree153cb0ffec3a3dbf671264ec02937276a5d839ea
parent55230fd2331e5fbe40630b713d5feada100ca01f
net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3

BugLink: https://bugs.launchpad.net/bugs/1850456
[ Upstream commit efb86fede98cdc70b674692ff617b1162f642c49 ]

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: aa09677cba42 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/broadcom/genet/bcmgenet.h
drivers/net/ethernet/broadcom/genet/bcmmii.c