net: dsa: Add PHYLINK switch operations
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 10 May 2018 20:17:32 +0000 (13:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2018 16:03:05 +0000 (12:03 -0400)
commit11d8f3ddab1e2b0f148def287859d0903b7f8ac5
tree00e200a6e7bce7010ecb6364b4c808bade2d143c
parent9cd00a8aa42e44a5a3f555e4999803856a7871f5
net: dsa: Add PHYLINK switch operations

In preparation for adding support for PHYLINK within DSA, define a number of
operations that we will need and that switch drivers can start implementing.
Proper integration with PHYLINK will follow in subsequent patches.

We start selecting PHYLINK (which implies PHYLIB) in net/dsa/Kconfig
such that drivers can be guaranteed that this dependency is properly
taken care of and can start referencing PHYLINK helper functions without
requiring stubs or anything.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/Kconfig
net/dsa/slave.c