bnx2x: fix driver load from initrd
authorManish Chopra <manishc@marvell.com>
Wed, 23 Feb 2022 08:57:20 +0000 (00:57 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 24 Feb 2022 17:06:18 +0000 (09:06 -0800)
commite13ad1443684f7afaff24cf207e85e97885256bd
treede617fade98da8465485b4624fc70ebac110dbcc
parente8240addd0a3919e0fd7436416afe9aa6429c484
bnx2x: fix driver load from initrd

Commit b7a49f73059f ("bnx2x: Utilize firmware 7.13.21.0") added
new firmware support in the driver with maintaining older firmware
compatibility. However, older firmware was not added in MODULE_FIRMWARE()
which caused missing firmware files in initrd image leading to driver load
failure from initrd. This patch adds MODULE_FIRMWARE() for older firmware
version to have firmware files included in initrd.

Fixes: b7a49f73059f ("bnx2x: Utilize firmware 7.13.21.0")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215627
Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Link: https://lore.kernel.org/r/20220223085720.12021-1-manishc@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c