diff options
Diffstat (limited to 'target/linux/generic/backport-5.4/742-v5.5-net-sfp-add-support-for-module-quirks.patch')
-rw-r--r-- | target/linux/generic/backport-5.4/742-v5.5-net-sfp-add-support-for-module-quirks.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic/backport-5.4/742-v5.5-net-sfp-add-support-for-module-quirks.patch b/target/linux/generic/backport-5.4/742-v5.5-net-sfp-add-support-for-module-quirks.patch index 5068bd468c..46c56a655a 100644 --- a/target/linux/generic/backport-5.4/742-v5.5-net-sfp-add-support-for-module-quirks.patch +++ b/target/linux/generic/backport-5.4/742-v5.5-net-sfp-add-support-for-module-quirks.patch @@ -13,7 +13,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> --- a/drivers/net/phy/sfp-bus.c +++ b/drivers/net/phy/sfp-bus.c -@@ -9,6 +9,12 @@ +@@ -10,6 +10,12 @@ #include "sfp.h" @@ -26,7 +26,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> /** * struct sfp_bus - internal representation of a sfp bus */ -@@ -21,6 +27,7 @@ struct sfp_bus { +@@ -22,6 +28,7 @@ struct sfp_bus { const struct sfp_socket_ops *socket_ops; struct device *sfp_dev; struct sfp *sfp; @@ -34,7 +34,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> const struct sfp_upstream_ops *upstream_ops; void *upstream; -@@ -30,6 +37,46 @@ struct sfp_bus { +@@ -31,6 +38,46 @@ struct sfp_bus { bool started; }; @@ -81,7 +81,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> /** * sfp_parse_port() - Parse the EEPROM base ID, setting the port type * @bus: a pointer to the &struct sfp_bus structure for the sfp module -@@ -233,6 +280,9 @@ void sfp_parse_support(struct sfp_bus *b +@@ -234,6 +281,9 @@ void sfp_parse_support(struct sfp_bus *b phylink_set(modes, 1000baseX_Full); } @@ -91,7 +91,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> bitmap_or(support, support, modes, __ETHTOOL_LINK_MODE_MASK_NBITS); phylink_set(support, Autoneg); -@@ -609,6 +659,8 @@ int sfp_module_insert(struct sfp_bus *bu +@@ -610,6 +660,8 @@ int sfp_module_insert(struct sfp_bus *bu const struct sfp_upstream_ops *ops = sfp_get_upstream_ops(bus); int ret = 0; @@ -100,7 +100,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> if (ops && ops->module_insert) ret = ops->module_insert(bus->upstream, id); -@@ -622,6 +674,8 @@ void sfp_module_remove(struct sfp_bus *b +@@ -623,6 +675,8 @@ void sfp_module_remove(struct sfp_bus *b if (ops && ops->module_remove) ops->module_remove(bus->upstream); |