opnsense-src/sys/modules/mt76/mt7921/Makefile
Bjoern A. Zeeb cbb3ec2523 mt76: update driver from upstream
This is a set of updates of the mt76 driver based on wireless-testing
(wt-2023-05-11) 711dca0ca3d77414f8f346e564e9c8640147f40d (after v6.4-rc1),
  This adds support for mt7996 as well.
(wt-2023-06-09) 7bd20e011626ccc3ad53e57873452b1716fcfaaa (after v6.4-rc5),
(wt-2023-07-24) 62e409149b62a285e89018e49b2e115757fb9022 (after v6.5-rc3),
(wt-2023-08-06) 2a220a15be657a24868368892e3e2caba2115283 (after v6.5-rc4).

The current version of LinuxKPI lacks support for "page pool" which
needs enhancing and updating a decade or so old shortcut mapping
struct page directly to struct vm_page.

MFC after:	20 days
2023-08-21 01:34:03 +00:00

28 lines
473 B
Makefile

DEVDIR= ${SRCTOP}/sys/contrib/dev/mediatek/mt76/mt7921
.PATH: ${DEVDIR}
KMOD= if_mt7921
# Common stuff.
SRCS= init.c main.c mac.c mcu.c
# PCI stuff.
SRCS+= pci.c pci_mac.c pci_mcu.c
# USB stuff.
#SRCS+= usb.c
# SDIO stuff.
#SRCS+= sdio.c sdio_mac.c sdio_mcu.c
.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0
SRCS+= debugfs.c
CFLAGS+= -DCONFIG_MT7921_DEBUGFS=${WITH_DEBUGFS}
.endif
CFLAGS+= -DKBUILD_MODNAME='"mt7921"'
CFLAGS+= -I${DEVDIR}
.include <bsd.kmod.mk>