Skip to content

Commit

Permalink
net: dsa: mv88e6xxx: Refactor CPU and DSA port setup
Browse files Browse the repository at this point in the history
Older chips only support DSA tagging. Newer chips have both DSA and
EDSA tagging. Refactor the code by adding port functions for setting the
frame mode, egress mode, and if to forward unknown frames.

This results in the helper mv88e6xxx_6065_family() becoming unused, so
remove it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
v3:
Verify mandatory ops for port setup
Don't set ether type for DSA port.
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Andrew Lunn authored and David S. Miller committed Dec 4, 2016
1 parent 443d5a1 commit 56995cb
Show file tree
Hide file tree
Showing 4 changed files with 319 additions and 49 deletions.
Loading

0 comments on commit 56995cb

Please sign in to comment.