summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/Makefile
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@gmail.com>2019-05-03 19:28:22 -0400
committerDavid S. Miller <davem@davemloft.net>2019-05-05 21:50:22 -0700
commite7ba0fad9c534bb3c3a4c3ee8ec8f60b6a224161 (patch)
treee360861239328a9b03886bdf18ac9d95c39e83b5 /drivers/net/dsa/mv88e6xxx/Makefile
parent7e6a95d31b191d81639b089b6ff7a7995bcb4ac3 (diff)
downloadlinux-stable-e7ba0fad9c534bb3c3a4c3ee8ec8f60b6a224161.tar.gz
linux-stable-e7ba0fad9c534bb3c3a4c3ee8ec8f60b6a224161.tar.bz2
linux-stable-e7ba0fad9c534bb3c3a4c3ee8ec8f60b6a224161.zip
net: dsa: mv88e6xxx: refine SMI support
The Marvell SOHO switches have several ways to access the internal registers. One of them being the System Management Interface (SMI), using the MDC and MDIO pins, with direct and indirect variants. In preparation for adding support for other register accesses, move the SMI code into its own files. At the same time, refine the code to make it clear that the indirect variant is implemented using the direct variant accessing only two registers for command and data. Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/Makefile')
-rw-r--r--drivers/net/dsa/mv88e6xxx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/Makefile b/drivers/net/dsa/mv88e6xxx/Makefile
index 50de304abe2f..e85755dde90b 100644
--- a/drivers/net/dsa/mv88e6xxx/Makefile
+++ b/drivers/net/dsa/mv88e6xxx/Makefile
@@ -12,3 +12,4 @@ mv88e6xxx-objs += phy.o
mv88e6xxx-objs += port.o
mv88e6xxx-$(CONFIG_NET_DSA_MV88E6XXX_PTP) += ptp.o
mv88e6xxx-objs += serdes.o
+mv88e6xxx-objs += smi.o