Files
linux-nv-oot/drivers/net/ethernet/microchip/Makefile
Jeremy Alves cab50fa964 Lan743/6.6 vanilla driver of Lan7431 from upstream
Adding 6.6.1 unmodified Lan7431 driver to nvidia-oot

This is the unmodified driver from
  K6.6.1
without our NVIDIA specific changes

Bug 4370581

Signed-off-by: Jeremy Alves <jalves@nvidia.com>
Change-Id: If3b71feb2e758432953d4f10d8c70f0c23da0c45
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3016139
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-29 16:45:03 -08:00

24 lines
664 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for the Microchip network device drivers.
#
ifeq ($(VERSION), 5)
ifeq ($(PATCHLEVEL), 15)
obj-m += lan743x.o
#include the source files from the kernel directory, for easier packaging
lan743x-objs += 5.15/lan743x_main.o 5.15/lan743x_ethtool.o 5.15/lan743x_ptp.o
endif #PATCHLEVEL
else ifeq ($(VERSION), 6)
ifeq ($(PATCHLEVEL), 1)
obj-m += lan743x.o
lan743x-objs += 6.1/lan743x_main.o 6.1/lan743x_ethtool.o 6.1/lan743x_ptp.o
else ifeq ($(PATCHLEVEL), 6)
obj-m += lan743x.o
lan743x-objs += 6.6/lan743x_main.o 6.6/lan743x_ethtool.o 6.6/lan743x_ptp.o
endif #PATCHLEVEL
endif #VERSION