]> git.ipfire.org Git - thirdparty/openwrt.git/blob
ae7f551cdec7e41858a5748b3ebfd5fd9a61fdb0
[thirdparty/openwrt.git] /
1 From 637f41476384c76d3cd7dcf5947caf2c8b8d7a9b Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Sat, 26 Oct 2024 14:52:25 +0100
4 Subject: [PATCH] net: ethernet: mtk_wed: fix path of MT7988 WO firmware
5
6 linux-firmware commit 808cba84 ("mtk_wed: add firmware for mt7988
7 Wireless Ethernet Dispatcher") added mt7988_wo_{0,1}.bin in the
8 'mediatek/mt7988' directory while driver current expects the files in
9 the 'mediatek' directory.
10
11 Change path in the driver header now that the firmware has been added.
12
13 Fixes: e2f64db13aa1 ("net: ethernet: mtk_wed: introduce WED support for MT7988")
14 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
15 Reviewed-by: Andrew Lunn <andrew@lunn.ch>
16 Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
17 Link: https://patch.msgid.link/Zxz0GWTR5X5LdWPe@pidgin.makrotopia.org
18 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
19 ---
20 drivers/net/ethernet/mediatek/mtk_wed_wo.h | 4 ++--
21 1 file changed, 2 insertions(+), 2 deletions(-)
22
23 --- a/drivers/net/ethernet/mediatek/mtk_wed_wo.h
24 +++ b/drivers/net/ethernet/mediatek/mtk_wed_wo.h
25 @@ -91,8 +91,8 @@ enum mtk_wed_dummy_cr_idx {
26 #define MT7981_FIRMWARE_WO "mediatek/mt7981_wo.bin"
27 #define MT7986_FIRMWARE_WO0 "mediatek/mt7986_wo_0.bin"
28 #define MT7986_FIRMWARE_WO1 "mediatek/mt7986_wo_1.bin"
29 -#define MT7988_FIRMWARE_WO0 "mediatek/mt7988_wo_0.bin"
30 -#define MT7988_FIRMWARE_WO1 "mediatek/mt7988_wo_1.bin"
31 +#define MT7988_FIRMWARE_WO0 "mediatek/mt7988/mt7988_wo_0.bin"
32 +#define MT7988_FIRMWARE_WO1 "mediatek/mt7988/mt7988_wo_1.bin"
33
34 #define MTK_WO_MCU_CFG_LS_BASE 0
35 #define MTK_WO_MCU_CFG_LS_HW_VER_ADDR (MTK_WO_MCU_CFG_LS_BASE + 0x000)