opnsense-src/sys/contrib
Tomaz Zaman cce1f2579d dpaa: add 10GBASE-T copper SFP+ PHY driver via I2C-MDIO bridge
Add support for copper (RJ45) SFP+ modules with embedded PHYs.
These modules use Clause 45 MDIO registers accessed via an I2C-to-MDIO
bridge for PHY management, auto-negotiation, and link status polling.

Two bridge protocols are supported with automatic detection:
- RollBall (I2C addr 0x51, page 3, command-based)
- Standard I2C-MDIO (I2C addr 0x56, SFF-8472)

PHY probe runs on module insertion for RJ45 connectors, configures
auto-negotiation (10G/5G/2.5G/1G advertisement with Extended Next Page),
and polls PMA/PMD link status at 1Hz via taskqueue. Speed detection
uses AN 10GBT_STAT for multi-gig and PMA/PMD CTRL1 as fallback.

For copper modules without accessible PHY (autonomous operation),
falls back to DDM RX_LOS polling for link state detection.

Also fixes three GPIO issues that prevented copper modules from working:
- TX_DISABLE pin direction must be set to OUTPUT explicitly
- TX_DISABLE polarity inverted due to board hardware inverter
- Module PHY stays inactive until TX_DISABLE is properly deasserted

Verified at 10 Gbps (9.4 Gbps iperf3) with FS.com SFP-10G-T (AQR113C)
and Intel X550 link partner over Cat6e cable.
2026-07-13 01:50:36 +02:00
..
alpine-hal
ck ck_queue: add CK_*_FOREACH_FROM 2023-02-25 10:34:06 -05:00
dev qat: enable qat driver for 402xx device 2026-01-20 09:05:29 +01:00
device-tree dpaa: add 10GBASE-T copper SFP+ PHY driver via I2C-MDIO bridge 2026-07-13 01:50:36 +02:00
dpdk_rte_lpm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
edk2
ena-com ena: Upgrade ena-com to freebsd v2.8.0 2024-10-31 14:54:10 +00:00
libb2
libfdt
libnv libnv: fix heap overflow in nvlist_recv() 2026-04-29 22:15:06 +02:00
libsodium
ncsw dpaa: move fmlib ioctl headers into kernel tree 2026-07-13 01:50:34 +02:00
openzfs zfs: Roll up several upstream commits 2026-06-30 23:16:28 +02:00
pcg-c/include pcg-c: Add 'static' to inline function definitions 2020-08-15 18:46:26 +00:00
rdma/krping krping: Stop checking for failures from malloc(M_WAITOK) 2024-09-30 12:44:17 +08:00
v4l
vchiq/interface vchiq(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-30 12:44:27 +08:00
x86emu x86emu: remove localy added __FBSDID 2023-12-13 23:08:51 +00:00
xen xen: fetch dom0 video console information from Xen 2023-03-09 17:13:17 +01:00
xz-embedded MFV: xz-embedded 3f438e15109229bb14ab45f285f4bff5412a9542 2022-11-17 22:04:57 -08:00
zlib zlib: use more memory for a small deflate speedup. 2024-03-20 20:49:04 -07:00
zstd MFV: zstd 1.5.2 2023-01-27 17:22:31 +00:00