git: 62c0ba91c78f - stable/13 - Revert "mii: include missing sources in loadable module"

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Mon, 11 Apr 2022 17:55:17 UTC
The branch stable/13 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=62c0ba91c78fcc2a4a48e866a79cea7fa24011fb

commit 62c0ba91c78fcc2a4a48e866a79cea7fa24011fb
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-04-11 17:54:13 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-04-11 17:54:13 +0000

    Revert "mii: include missing sources in loadable module"
    
    This reverts commit b9ec0b7e86ac01d3c8634d5b3a7658b5d9d34267. It breaks
    the build.
    
    Reported by:    Jenkins, kp
---
 sys/modules/mii/Makefile | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/sys/modules/mii/Makefile b/sys/modules/mii/Makefile
index f53419974130..348c9b7b2845 100644
--- a/sys/modules/mii/Makefile
+++ b/sys/modules/mii/Makefile
@@ -3,21 +3,15 @@
 .PATH: ${SRCTOP}/sys/dev/mii
 
 KMOD=	miibus
-SRCS=	acphy.c amphy.c atphy.c axphy.c bmtphy.c brgphy.c
-SRCS+=	ciphy.c dp83822phy.c dp83867phy.c
+SRCS=	acphy.c amphy.c atphy.c axphy.c bmtphy.c brgphy.c bus_if.h
+SRCS+=	ciphy.c device_if.h
 SRCS+=	e1000phy.c gentbi.c icsphy.c ip1000phy.c jmphy.c lxtphy.c
-SRCS+=	miibus_if.c mii.c mii_bitbang.c mii_physubr.c
-SRCS+=	nsgphy.c nsphy.c nsphyter.c pnaphy.c qsphy.c
+SRCS+=	miibus_if.c miibus_if.h mii.c miidevs.h mii_bitbang.c mii_physubr.c
+SRCS+=	nsgphy.c nsphy.c nsphyter.c pci_if.h pnaphy.c qsphy.c
 SRCS+=	rdcphy.c rgephy.c rlphy.c smcphy.c
 SRCS+=	smscphy.c tdkphy.c truephy.c
 SRCS+=	ukphy.c ukphy_subr.c
-SRCS+=	vscphy.c xmphy.c
-SRCS+=	bus_if.h device_if.h miibus_if.h miidevs.h opt_platform.h pci_if.h
-
-.if !empty(OPT_FDT)
-SRCS+=	micphy.c mii_fdt.c
-SRCS+=	ofw_bus_if.h
-.endif
+SRCS+=	xmphy.c
 
 EXPORT_SYMS=	YES