]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: phy: add comment to firmware file definition
authorJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 9 Jan 2026 23:43:21 +0000 (23:43 +0000)
committerRobert Marko <robimarko@gmail.com>
Sun, 11 Jan 2026 10:13:09 +0000 (11:13 +0100)
Add a comment stating the situation around a specific RTL838x firmware
file. After SerDes setup has been moved to the PCS driver, this firmware
file is partially unused. If the remaining bits are pulled out or just
replaced, this firmware file can be dropped. The comment ensures that we
do not forget about that.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21481
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.h

index c63d6174e13e62d098ea6a715976e6f8fafd2f39..e032d1301ad6cf7d63d866dcecccb17b4f6a96c2 100644 (file)
@@ -15,7 +15,14 @@ struct __packed fw_header {
 };
 
 /* TODO: fixed path? */
+/* NOTE: This firmware file contains both patch values for SerDes
+ * configuration and for the internal RTL8218B PHY of RTL838x. Because
+ * the SerDes setup has been moved to the PCS driver and the firmware
+ * file isn't used there, this was only kept for the PHY. As soon as
+ * this has been changed, this firmware file can be dropped completely.
+ */
 #define FIRMWARE_838X_8380_1                   "rtl838x_phy/rtl838x_8380.fw"
+
 #define FIRMWARE_838X_8214FC_1                 "rtl838x_phy/rtl838x_8214fc.fw"
 #define FIRMWARE_838X_8218b_1                  "rtl838x_phy/rtl838x_8218b.fw"