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/modules/ix/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/modules/ix/Makefile') diff --git a/sys/modules/ix/Makefile b/sys/modules/ix/Makefile index 252ff4a3378d..2884f6ba898e 100644 --- a/sys/modules/ix/Makefile +++ b/sys/modules/ix/Makefile @@ -1,9 +1,10 @@ .PATH: ${SRCTOP}/sys/dev/ixgbe KMOD = if_ix -SRCS = device_if.h bus_if.h pci_if.h pci_iov_if.h ifdi_if.h +SRCS = device_if.h bus_if.h pci_if.h pci_iov_if.h ifdi_if.h mdio_if.h SRCS += opt_inet.h opt_inet6.h opt_rss.h SRCS += if_ix.c if_bypass.c if_fdir.c if_sriov.c ix_txrx.c ixgbe_osdep.c +SRCS += if_ix_mdio.c if_ix_mdio_hw.c # Shared source SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c SRCS += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c -- cgit v1.3