net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 15 Feb 2020 00:32:29 +0000 (16:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:27:51 +0000 (19:27 -0800)
commit7458bd540fa0a90220b9e8c349d910d9dde9caf8
treea6ac7a6281ab2234ca33f34655f9b1dd91cc59b0
parent33946518d493cdf10aedb4a483f1aa41948a3dab
net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278

Either port 5 or port 8 can be used on a 7278 device, make sure that
port 5 also gets configured properly for 2Gb/sec in that case.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2_regs.h