diff --git a/target/linux/realtek/patches-6.18/714-net-phy-sfp-add-support-for-SMBus.patch b/target/linux/realtek/patches-6.18/714-net-phy-sfp-add-support-for-SMBus.patch index 20309d5ad8..390ffabb99 100644 --- a/target/linux/realtek/patches-6.18/714-net-phy-sfp-add-support-for-SMBus.patch +++ b/target/linux/realtek/patches-6.18/714-net-phy-sfp-add-support-for-SMBus.patch @@ -10,7 +10,7 @@ Signed-off-by: Antoine Tenart --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c -@@ -866,6 +866,29 @@ static int sfp_i2c_mdiobus_create(struct +@@ -850,6 +850,29 @@ static int sfp_i2c_mdiobus_create(struct return 0; } @@ -40,7 +40,7 @@ Signed-off-by: Antoine Tenart static void sfp_i2c_mdiobus_destroy(struct sfp *sfp) { mdiobus_unregister(sfp->i2c_mii); -@@ -2040,9 +2063,15 @@ static void sfp_sm_fault(struct sfp *sfp +@@ -2024,9 +2047,15 @@ static void sfp_sm_fault(struct sfp *sfp static int sfp_sm_add_mdio_bus(struct sfp *sfp) { diff --git a/target/linux/realtek/patches-6.18/741-net-sfp-apply-I2C-adapter-quirks-to-limit-blocks.patch b/target/linux/realtek/patches-6.18/741-net-sfp-apply-I2C-adapter-quirks-to-limit-blocks.patch index 23b83f7b6b..7e575141d2 100644 --- a/target/linux/realtek/patches-6.18/741-net-sfp-apply-I2C-adapter-quirks-to-limit-blocks.patch +++ b/target/linux/realtek/patches-6.18/741-net-sfp-apply-I2C-adapter-quirks-to-limit-blocks.patch @@ -25,7 +25,7 @@ Signed-off-by: Jonas Jelonek --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c -@@ -825,21 +825,29 @@ static int sfp_smbus_byte_write(struct s +@@ -809,21 +809,29 @@ static int sfp_smbus_byte_write(struct s static int sfp_i2c_configure(struct sfp *sfp, struct i2c_adapter *i2c) { diff --git a/target/linux/realtek/patches-6.18/742-net-sfp-extend-SMBus-support.patch b/target/linux/realtek/patches-6.18/742-net-sfp-extend-SMBus-support.patch index dd40d7ba58..da94989670 100644 --- a/target/linux/realtek/patches-6.18/742-net-sfp-extend-SMBus-support.patch +++ b/target/linux/realtek/patches-6.18/742-net-sfp-extend-SMBus-support.patch @@ -42,7 +42,7 @@ Signed-off-by: Jonas Jelonek #include #include "sfp.h" -@@ -774,50 +775,101 @@ static int sfp_i2c_write(struct sfp *sfp +@@ -758,50 +759,101 @@ static int sfp_i2c_write(struct sfp *sfp return ret == ARRAY_SIZE(msgs) ? len : 0; } @@ -164,7 +164,7 @@ Signed-off-by: Jonas Jelonek } return data - (u8 *)buf; -@@ -826,17 +878,32 @@ static int sfp_smbus_byte_write(struct s +@@ -810,17 +862,32 @@ static int sfp_smbus_byte_write(struct s static int sfp_i2c_configure(struct sfp *sfp, struct i2c_adapter *i2c) { size_t max_block_size;