mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 23:33:01 -04:00
eth: fbnic: Fix incorrect minimum firmware version
The full minimum version is 0.10.6-0. The six is now correctly defined as patch and shifted appropriately. 0.10.6-0 is a preproduction version of firmware which was released over a year and a half ago. All production devices meet this requirement. Signed-off-by: Lee Trager <lee@trager.us> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20250702192207.697368-2-lee@trager.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
80b0dd1c4e
commit
dd62e960a7
@@ -15,10 +15,10 @@
|
||||
/* Defines the minimum firmware version required by the driver */
|
||||
#define MIN_FW_MAJOR_VERSION 0
|
||||
#define MIN_FW_MINOR_VERSION 10
|
||||
#define MIN_FW_BUILD_VERSION 6
|
||||
#define MIN_FW_PATCH_VERSION 6
|
||||
#define MIN_FW_VERSION_CODE (MIN_FW_MAJOR_VERSION * (1u << 24) + \
|
||||
MIN_FW_MINOR_VERSION * (1u << 16) + \
|
||||
MIN_FW_BUILD_VERSION)
|
||||
MIN_FW_PATCH_VERSION * (1u << 8))
|
||||
|
||||
#define PCI_DEVICE_ID_META_FBNIC_ASIC 0x0013
|
||||
|
||||
|
||||
@@ -582,7 +582,7 @@ static int fbnic_fw_parse_cap_resp(void *opaque, struct fbnic_tlv_msg **results)
|
||||
running_ver,
|
||||
MIN_FW_MAJOR_VERSION,
|
||||
MIN_FW_MINOR_VERSION,
|
||||
MIN_FW_BUILD_VERSION);
|
||||
MIN_FW_PATCH_VERSION);
|
||||
/* Disable TX mailbox to prevent card use until firmware is
|
||||
* updated.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user