]> 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)
commit21a89d176c003e1f80d9334aed2ffde82c313dfe
tree00e200a6e7bce7010ecb6364b4c808bade2d143c
parenta914da2bf9fb3227132796465fc8307a1de054e0
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