From: Paolo Abeni Date: Thu, 11 Jun 2026 08:55:15 +0000 (+0200) Subject: Merge branch 'net-txgbe-fix-module-identification' X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=0068940907d33217ae01217f84910a5cde606c17;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'net-txgbe-fix-module-identification' Jiawen Wu says: ==================== net: txgbe: fix module identification For AML devices, there are some issues where the wrong module indentified then configure PHY failed. The module info buffers should be initialized to 0 before the firmware returns information. And DECLARE_PHY_INTERFACE_MASK() does not guarantee zeroed contents, so explicitly clear the temporary interface masks before setting supported interfaces. Rework txgbe_identify_module() to validate module identifiers through explicit type checks instead of relying on transceiver_type heuristics. When using the SFP module, transceiver_type could be a random value, because it was read from an invalid register. ==================== Link: https://patch.msgid.link/20260608070842.36504-1-jiawenwu@trustnetic.com Signed-off-by: Paolo Abeni --- 0068940907d33217ae01217f84910a5cde606c17