summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/microchip/lan966x/Makefile
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2021-11-29 13:43:55 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-29 12:58:38 +0000
commitdb8bcaad539314df5d58f2c57465e965440d1aa6 (patch)
tree96a7c7cf31df30dafc74b3a120c9a6403dab24ae /drivers/net/ethernet/microchip/lan966x/Makefile
parent642fcf53a9ac145c451483036ab73b6dfce7f8d7 (diff)
net: lan966x: add the basic lan966x driver
This patch adds basic SwitchDev driver framework for lan966x. It includes only the IO range mapping and probing of the switch. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip/lan966x/Makefile')
-rw-r--r--drivers/net/ethernet/microchip/lan966x/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/microchip/lan966x/Makefile b/drivers/net/ethernet/microchip/lan966x/Makefile
new file mode 100644
index 000000000000..7ea90410a0b2
--- /dev/null
+++ b/drivers/net/ethernet/microchip/lan966x/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Makefile for the Microchip Lan966x network device drivers.
+#
+
+obj-$(CONFIG_LAN966X_SWITCH) += lan966x-switch.o
+
+lan966x-switch-objs := lan966x_main.o