net: dsa: mv88e6xxx: helper to setup upstream port
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 5 Dec 2017 20:34:10 +0000 (15:34 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 23:01:33 +0000 (18:01 -0500)
commitfa371c803c4fafbf088381aa1235ccde7dfa09dd
tree8a06a0dbbc49618409a4e491b8ba08593347c922
parent3ee50cbf3a8e0846a12b3fdf8aa9397668981c16
net: dsa: mv88e6xxx: helper to setup upstream port

Add a helper function to setup the upstream port of a given port.

This is the port used to reach the dedicated CPU port. This function
will be extended later to setup the global upstream port as well.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c