OSDN Git Service

net: dsa: mv88e6xxx: fix 88E6393X family internal phys layout
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Mon, 29 May 2023 08:02:44 +0000 (10:02 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 31 May 2023 06:54:33 +0000 (23:54 -0700)
commit2f93493970dfa46779f134f1fb2cd803b8c80ea4
treeec53910d13618dc987196b71be8741b13441c1c5
parent3ba89b28adb21a5d5d78e905e2c3972816606bb4
net: dsa: mv88e6xxx: fix 88E6393X family internal phys layout

88E6393X/88E6193X/88E6191X switches have in fact 8 internal PHYs, but those
are not present starting at port 0: supported ports go from 1 to 8

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c