]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c25f729005a2c8a55e6ade0735ba32d7c7873b0
tree00e200a6e7bce7010ecb6364b4c808bade2d143c
parentce8c71c5d08372efca4c870a2d8d0615fe9a5acf
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