From cfec995c87f39e59c80554b85625b4aaa8ddf8db Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Fri, 17 Apr 2026 10:11:42 -0700 Subject: ixgbe: add MDIO bus support This works enough to let me see the marvell switch on the MDIO bus. It uses clause 22, which ixgbe's existing MDIO code doesn't currently support, so it's implemented in a new source file. Since mdio(4) is now required, add it where appropriate to GENERIC kernels. Reviewed by: kbowling Differential Revision: https://reviews.freebsd.org/D50128 --- sys/amd64/conf/GENERIC | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/amd64') diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index 7de19f86afbf..c6a095f2d98a 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -229,6 +229,9 @@ device ppi # Parallel port interface device device puc # Multi I/O cards and multi-channel UARTs +# MDIO bus for Ethernet NICs that directly expose the MDIO bus +device mdio + # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure device iflib device em # Intel PRO/1000 Gigabit Ethernet Family -- cgit v1.3