]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf66c52ccea84919ea102f035f90dcc850338da9
treea6ac7a6281ab2234ca33f34655f9b1dd91cc59b0
parent307767b72de10ca5114ed76ebe4595bde0eaf081
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