From: Markus Stockhausen Date: Sun, 3 May 2026 17:08:08 +0000 (+0200) Subject: realtek: mdio: explain missing RTL838x fail command X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b793640f09a01f300ca9e887c41e007fd52427f4;p=thirdparty%2Fopenwrt.git realtek: mdio: explain missing RTL838x fail command RTL838x devices do not have a fail indicator. Add a comment for that. Signed-off-by: Markus Stockhausen Link: https://github.com/openwrt/openwrt/pull/23204 Signed-off-by: Robert Marko --- diff --git a/target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c b/target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c index d7c06b3f58e..5e676ed0e30 100644 --- a/target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c +++ b/target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c @@ -54,7 +54,7 @@ #define RTMDIO_838X_SMI_GLB_CTRL (0xa100) #define RTMDIO_838X_SMI_ACCESS_PHY_CTRL_0 (0xa1b8) #define RTMDIO_838X_SMI_ACCESS_PHY_CTRL_1 (0xa1bc) -#define RTMDIO_838X_CMD_FAIL 0 +#define RTMDIO_838X_CMD_FAIL 0 /* No hardware support */ #define RTMDIO_838X_CMD_READ_C22 0 #define RTMDIO_838X_CMD_READ_C45 BIT(1) #define RTMDIO_838X_CMD_WRITE_C22 BIT(2)