git: 04a191c251e5 - stable/14 - puc: Make kernel module working

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 04 Jun 2024 12:23:44 UTC
The branch stable/14 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=04a191c251e5ef20deb14fcdcf628a589be5216a

commit 04a191c251e5ef20deb14fcdcf628a589be5216a
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-05-29 17:07:51 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-06-04 12:23:21 +0000

    puc: Make kernel module working
    
    We need uart_bus_puc.c in the module for it to work.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    
    (cherry picked from commit 304ac69eca623d63510aa61853adc1ea60593323)
---
 sys/modules/puc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/modules/puc/Makefile b/sys/modules/puc/Makefile
index 6e14ce0ed268..cfd48bee5ff9 100644
--- a/sys/modules/puc/Makefile
+++ b/sys/modules/puc/Makefile
@@ -1,8 +1,8 @@
 
-.PATH:	${SRCTOP}/sys/dev/puc
+.PATH:	${SRCTOP}/sys/dev/puc ${SRCTOP}/sys/dev/uart/
 
 KMOD=	puc
-SRCS=	puc.c puc_cfg.c puc_pci.c
+SRCS=	puc.c puc_cfg.c puc_pci.c uart_bus_puc.c
 SRCS+=	bus_if.h device_if.h serdev_if.c serdev_if.h pci_if.h
 
 .include <bsd.kmod.mk>