aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2023-05-20 00:36:03 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2023-08-21 01:32:46 +0000
commit28348caeee6ee98251b0aaa026e8d52b5032e92c (patch)
tree006f1f6bae0afeec92db79bd7971532edd663354 /sys/modules
parent07724ba62b4c432ea04dce9465a5ab6e2c3f5a0d (diff)
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ath11k/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/modules/ath11k/Makefile b/sys/modules/ath11k/Makefile
index e9d6d62e8e74..162b22d33074 100644
--- a/sys/modules/ath11k/Makefile
+++ b/sys/modules/ath11k/Makefile
@@ -4,15 +4,21 @@ DEVATH11KDIR= ${SRCTOP}/sys/contrib/dev/athk/ath11k
.PATH: ${DEVATH11KDIR}
WITH_DEBUGFS= 0 # Does not yet compile
+WITH_CONFIG_PM= 0
KMOD= if_ath11k
SRCS+= core.c hal.c hal_tx.c hal_rx.c
SRCS+= wmi.c mac.c reg.c htc.c qmi.c
SRCS+= dp.c dp_tx.c dp_rx.c debug.c
-SRCS+= ce.c peer.c dbring.c hw.c wow.c
+SRCS+= ce.c peer.c dbring.c hw.c
-SRCS+= mhi.c pci.c
+SRCS+= mhi.c pci.c pcic.c
+
+.if defined(WITH_CONFIG_PM) && ${WITH_CONFIG_PM} > 0
+CFLAGS+= -DCONFIG_PM=${WITH_CONFIG_PM}
+SRCS+= wow.c
+.endif
# Other
SRCS+= ${LINUXKPI_GENSRCS}