curl: update to version 7.68.0 (security fix)
[oweals/openwrt.git] / target / linux / mvebu / patches-4.19 / 406-sfp-add-sfp-compatible.patch
1 From 7e8bf5227f87601d8d74948bcae8846d2bdd6995 Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk+kernel@armlinux.org.uk>
3 Date: Fri, 14 Apr 2017 20:17:13 +0100
4 Subject: [PATCH] sfp: add sfp+ compatible
5
6 Add a compatible for SFP+ cages.  SFP+ cages are backwards compatible,
7 but the ethernet device behind them may not support the slower speeds
8 of SFP modules.
9
10 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
11 ---
12  drivers/net/phy/sfp.c | 1 +
13  1 file changed, 1 insertion(+)
14
15 --- a/drivers/net/phy/sfp.c
16 +++ b/drivers/net/phy/sfp.c
17 @@ -230,6 +230,7 @@ static const struct sff_data sfp_data =
18  static const struct of_device_id sfp_of_match[] = {
19         { .compatible = "sff,sff", .data = &sff_data, },
20         { .compatible = "sff,sfp", .data = &sfp_data, },
21 +       { .compatible = "sff,sfp+", .data = &sfp_data, },
22         { },
23  };
24  MODULE_DEVICE_TABLE(of, sfp_of_match);