]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: dsa: bcm_sf2: Only 7278 supports 2Gb/sec IMP port
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 6 Feb 2020 19:23:52 +0000 (11:23 -0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 13 Mar 2020 05:19:20 +0000 (01:19 -0400)
commit46b7aaf2a1573fb57f622d31c57920fe3fdc5daa
tree1c38e69d902736a372fb18b7e9810adecb03fd5b
parentc7ac04d0af5371678a442e0f1d98084cb7b53007
net: dsa: bcm_sf2: Only 7278 supports 2Gb/sec IMP port

BugLink: https://bugs.launchpad.net/bugs/1867051
[ Upstream commit de34d7084edd069dac5aa010cfe32bd8c4619fa6 ]

The 7445 switch clocking profiles do not allow us to run the IMP port at
2Gb/sec in a way that it is reliable and consistent. Make sure that the
setting is only applied to the 7278 family.

Fixes: 8f1880cbe8d0 ("net: dsa: bcm_sf2: Configure IMP port for 2Gb/sec")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/dsa/bcm_sf2.c