OSDN Git Service

Merge branch 'mv88e6xxx-Support-more-SERDES-interfacxes'
authorDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2018 18:17:46 +0000 (10:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2018 18:17:46 +0000 (10:17 -0800)
commit0cf3a68a53829815db58461da1807728437c5de2
treef1c048ca19788e592fa67c88bda456964e1461fc
parent8d2681f5cebbc082ca9e4867b333fcc886062b3b
parent2defda1f4b91f83a449de29cac7722afb0c57444
Merge branch 'mv88e6xxx-Support-more-SERDES-interfacxes'

Andrew Lunn says:

====================
net: dsa: mv88e6xxx: Support more SERDES interfacxes

Currently the SERDES interfaces for ports 9 and 10 on the mv88e6390x
are supported, allowing upto 10G. However, when unused, these SERDES
interfaces can be used by some of the lower ports for 1000Base-X.

The tricky bit here is ordering. The SERDES have to become free from
ports 9 or 10 before they can be used with lower ports. Normally, this
would happen only when these ports would be configured up, which is
too late. So at probe time, defaulting ports 9 and 10 to 1000BaseX
frees them for use with lower ports. If they are actually needed, they
will be taken back when port 9 and 10 goes up.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>