freebsd-dev/sys
Milan Obuch 517ea731d4 mii: include missing sources in loadable module
As of today, using 'kldload miibus' is not equivalent to using 'device
miibus' in a kernel config. Newly introduced PHY drivers (DP83822,
DP83867, VSCPHY) and source files/PHY driver for FDT-enabled kernels
are missing. Without including them, kernel modules using any function
from dev/mii/mii_fdt.c refuse to load. Additionally, miivar.h directly
includes opt_platform.h.

Add the missing sources to the module build, with the FDT-only files
gated behind an OPT_FDT check. Maintain the alphabetical listing of
SRCS, but move the required header files to a separate line to improve
readability.

Reviewed by:	mhorne, mindal@semihalf.com
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D34256
2022-04-03 12:28:37 -03:00
..
amd64 linux(4): Add compat.linux32.emulate_i386 knob. 2022-03-31 21:01:09 +03:00
arm syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
arm64 sysent: regen for syscallarg_t 2022-03-28 19:43:03 +01:00
bsm
cam cam: Fix typos in source code comments 2022-04-02 10:13:35 +02:00
cddl zfs: merge openzfs/zfs@a86e08941 (master) into main 2022-03-08 18:53:02 +01:00
compat LinuxKPI: 802.11: fix RSSI (and NF) 2022-04-01 22:31:23 +00:00
conf NOTES: Fix a typo in a comments 2022-04-02 14:50:04 +02:00
contrib acpica: Import ACPICA 20220331 2022-03-31 21:59:23 -04:00
crypto armv8crypto: Remove leftover debug printfs 2022-02-17 14:25:45 -05:00
ddb ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
dev isci(4): Remove a double word in an error message 2022-04-03 16:07:20 +02:00
dts dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitions 2022-02-03 21:26:45 -08:00
fs fusefs(5): Fix a typo in a source code comment 2022-04-02 14:56:21 +02:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-01-22 14:46:06 -05:00
geom gpart(8): Fix two typos in source code comments 2022-03-28 19:36:48 +02:00
gnu
i386 sysent: regen for syscallarg_t 2022-03-28 19:43:03 +01:00
isa
kern vfs: fixup WANTIOCTLCAPS on open 2022-04-02 20:49:01 +02:00
kgssapi
libkern
modules mii: include missing sources in loadable module 2022-04-03 12:28:37 -03:00
net net(4): Fix a typo in a source code comment 2022-04-02 14:57:06 +02:00
net80211 net80211: correct types for nf and rssi 2022-04-01 22:30:02 +00:00
netgraph ng_pppoe(4): Fix a typo in a source code comment 2022-04-02 13:54:36 +02:00
netinet sctp: don't refer to a potentially outdated stream 2022-04-02 23:26:27 +02:00
netinet6 netinet6: Fix a typo in a source code comment 2022-03-28 19:32:10 +02:00
netipsec ipsec: sprinkle CURVNET_ASSERT_SET 2022-02-19 13:10:41 +00:00
netpfil netpfil: Fix two typo in source code comments 2022-04-02 14:18:11 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ibcore: Fix multiple includes of same header file. 2022-03-03 12:51:20 +01:00
opencrypto crypto: hide crypto_destroyreq behind a tunable 2022-02-16 07:45:12 +00:00
powerpc powerpcspe: fix PCI enumeration on ppce500 2022-03-21 16:11:33 -03:00
riscv risc-v: Fix two typos in a source code comment 2022-04-02 08:58:45 +02:00
rpc rpc(3): Fix two typos in source code comments 2022-04-02 09:33:24 +02:00
security audit: Initialize vattr fields before calling VOP_GETATTR 2022-03-28 11:23:45 -04:00
sys vfs: fixup WANTIOCTLCAPS on open 2022-04-02 20:49:01 +02:00
teken teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-03-12 09:17:29 -05:00
tests
tools syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
ufs ffs(3): Fix a common typo in source code comments 2022-03-28 19:37:03 +02:00
vm memguard(9): Fix two typos in source code comments 2022-04-02 13:51:27 +02:00
x86 xen(4): Fix a few typos in source code comments 2022-03-28 19:37:20 +02:00
xdr
xen xen(3): Fix a typo in a source code comment 2022-03-28 19:32:53 +02:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00