summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/ocelot/Makefile
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-09-18 17:53:05 -0700
committerDavid S. Miller <davem@davemloft.net>2020-09-18 17:53:05 -0700
commit0db0561d13df07978bea63a19f644fc16a60f54a (patch)
tree5666cdb4f4dcf0eb35282967470e2d9f6eaf1fc4 /drivers/net/dsa/ocelot/Makefile
parent42ccf1cd6aa5bb6fba7a2bfeb08c88d822e05916 (diff)
parentd60bc62de4ae068ed4b215c24cdfdd5035aa986e (diff)
Merge branch 'Felix-DSA-driver-cleanup-build-Seville-separately'
Vladimir Oltean says: ==================== Felix DSA driver cleanup: build Seville separately When introducing the Seville switch support to the Felix driver, some technical debt was created. Since both VSC9959 and VSC9953 are embedded switches (one on an arm64 SoC and the other on a powerpc SoC), there is no use case for having the code for both be present in the same module. This was necessary at the time due to the common SERDES PCS code that they were using, but that has been since refactored into drivers/net/pcs/pcs-lynx.c. This makes the Seville driver stop uselessly depending upon PCI and FSL_ENETC_MDIO, which were only dependencies of Felix in fact. Some whitespace/tab conversions are also present in this series as part of the cleanup process. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/ocelot/Makefile')
-rw-r--r--drivers/net/dsa/ocelot/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/dsa/ocelot/Makefile b/drivers/net/dsa/ocelot/Makefile
index ec57a5a12330..f6dd131e7491 100644
--- a/drivers/net/dsa/ocelot/Makefile
+++ b/drivers/net/dsa/ocelot/Makefile
@@ -1,7 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_NET_DSA_MSCC_FELIX) += mscc_felix.o
+obj-$(CONFIG_NET_DSA_MSCC_SEVILLE) += mscc_seville.o
mscc_felix-objs := \
felix.o \
- felix_vsc9959.o \
+ felix_vsc9959.o
+
+mscc_seville-objs := \
+ felix.o \
seville_vsc9953.o