aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/Makefile
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2019-07-05 00:29:05 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-07 14:16:32 -0700
commit95711cd5f0b4b0394f2e0c30fdd99b853317ed49 (patch)
tree65050561813d6b554f3bdeb2e2c4d58ffcda3eb3 /drivers/net/dsa/Makefile
parentnet: dsa: Change DT bindings for Vitesse VSC73xx switches (diff)
downloadlinux-dev-95711cd5f0b4b0394f2e0c30fdd99b853317ed49.tar.xz
linux-dev-95711cd5f0b4b0394f2e0c30fdd99b853317ed49.zip
net: dsa: vsc73xx: Split vsc73xx driver
This driver (currently) only takes control of the switch chip over SPI and configures it to route packages around when connected to a CPU port. But Vitesse chip support also parallel interface. This patch split driver into two parts: core and spi. It is required for add support to another managing interface. Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/Makefile')
-rw-r--r--drivers/net/dsa/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/dsa/Makefile b/drivers/net/dsa/Makefile
index d99dc6de0006..a78f50724720 100644
--- a/drivers/net/dsa/Makefile
+++ b/drivers/net/dsa/Makefile
@@ -14,7 +14,8 @@ realtek-smi-objs := realtek-smi-core.o rtl8366.o rtl8366rb.o
obj-$(CONFIG_NET_DSA_SMSC_LAN9303) += lan9303-core.o
obj-$(CONFIG_NET_DSA_SMSC_LAN9303_I2C) += lan9303_i2c.o
obj-$(CONFIG_NET_DSA_SMSC_LAN9303_MDIO) += lan9303_mdio.o
-obj-$(CONFIG_NET_DSA_VITESSE_VSC73XX) += vitesse-vsc73xx.o
+obj-$(CONFIG_NET_DSA_VITESSE_VSC73XX) += vitesse-vsc73xx-core.o
+obj-$(CONFIG_NET_DSA_VITESSE_VSC73XX_SPI) += vitesse-vsc73xx-spi.o
obj-y += b53/
obj-y += microchip/
obj-y += mv88e6xxx/