]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: txgbe: Restrict the use of mismatched FW versions
authorJiawen Wu <jiawenwu@trustnetic.com>
Wed, 21 May 2025 06:44:00 +0000 (14:44 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 26 May 2025 15:25:42 +0000 (17:25 +0200)
commitd84a3ff9aae815c51c40b9b61e1bf26b7256eebf
tree2cd422882c05985b18684513f4b1d9a3309a45de
parentc0f2e5113e2f073e88ea18e8912a9ee2558a0d6f
net: txgbe: Restrict the use of mismatched FW versions

The new added mailbox commands require a new released firmware version.
Otherwise, a lot of logs "Unknown FW command" would be printed. And the
devices may not work properly. So add the test command in the probe
function.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/18283F17BE0FA335+20250521064402.22348-8-jiawenwu@trustnetic.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.h
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c