HomeFreeBSD

bnxt: Fix BASE-T, 40G AOC, 1G-CX, autoneg and unknown media lists

Description

bnxt: Fix BASE-T, 40G AOC, 1G-CX, autoneg and unknown media lists

This was broken in c63d67e137f3, the early returns prevent building the
media lists as expected.

The BASE-T parts of the patch were suggested by "cyric@mm.st", while I
am adding the additional 40G AOC, 1CX, autoneg and unknown PHY fixes
based on code inspection. There may be additional work left here for
Broadcom but this is certainly better than the returns.

PR: 287395

Reported by: mickael.maillot@gmail.com, cyric@mm.st
Tested by: Einar Bjarni Halldórsson <einar@isnic.is>
Approved by: so
Security: FreeBSD-EN-25:17.bnxt

(cherry picked from commit 5e6e4f752833acc96f1efc893318d3f6b74b9689)
(cherry picked from commit 33f65f12eba10588827a13d232337616f6f4facf)

Details

Provenance
Kevin Bowling <kbowling@FreeBSD.org>Authored on Jun 14 2025, 11:46 PM
gordonCommitted on Sep 14 2025, 12:24 AM
Parents
rGd1e981cbf3bd: vfs_syscalls.c: Fix handling of offset args for copy_file_range
Branches
Unknown
Tags
Unknown