aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2026-04-17 17:11:42 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2026-04-17 17:11:42 +0000
commitcfec995c87f39e59c80554b85625b4aaa8ddf8db (patch)
tree7e2e211a81a88b174ffe851097d6edc6a1f4561b /sys/amd64
parenteb0279550d52962241b4178101cd7f7d732eb682 (diff)
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
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/conf/GENERIC3
1 files changed, 3 insertions, 0 deletions
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