diff options
author | Marko Ratkaj <marko.ratkaj@sartura.hr> | 2019-06-13 16:40:46 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-06-17 09:36:03 +0200 |
commit | 98684d99b25033f01eae0c25110e660620253b82 (patch) | |
tree | a0786a8c40a58c1ddfd5934628c938741b892864 /target/linux/mvebu/patches-4.19/406-sfp-add-sfp-compatible.patch | |
parent | 7046a249d8173212fe6bb7f5a4802d6e66ee15f2 (diff) | |
download | upstream-98684d99b25033f01eae0c25110e660620253b82.tar.gz upstream-98684d99b25033f01eae0c25110e660620253b82.tar.bz2 upstream-98684d99b25033f01eae0c25110e660620253b82.zip |
mvebu: add kernel 4.19 support
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
[added sfp related patches from Russell King]
Signed-off-by: Marek Behún <marek.behun@nic.cz>
[rebase; rework patches; separate and cleanup kernel configs;
add espessobin dts; adjust venom dts]
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'target/linux/mvebu/patches-4.19/406-sfp-add-sfp-compatible.patch')
-rw-r--r-- | target/linux/mvebu/patches-4.19/406-sfp-add-sfp-compatible.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-4.19/406-sfp-add-sfp-compatible.patch b/target/linux/mvebu/patches-4.19/406-sfp-add-sfp-compatible.patch new file mode 100644 index 0000000000..f800e0a49c --- /dev/null +++ b/target/linux/mvebu/patches-4.19/406-sfp-add-sfp-compatible.patch @@ -0,0 +1,24 @@ +From 7e8bf5227f87601d8d74948bcae8846d2bdd6995 Mon Sep 17 00:00:00 2001 +From: Russell King <rmk+kernel@armlinux.org.uk> +Date: Fri, 14 Apr 2017 20:17:13 +0100 +Subject: [PATCH] sfp: add sfp+ compatible + +Add a compatible for SFP+ cages. SFP+ cages are backwards compatible, +but the ethernet device behind them may not support the slower speeds +of SFP modules. + +Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> +--- + drivers/net/phy/sfp.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/net/phy/sfp.c ++++ b/drivers/net/phy/sfp.c +@@ -229,6 +229,7 @@ static const struct sff_data sfp_data = + static const struct of_device_id sfp_of_match[] = { + { .compatible = "sff,sff", .data = &sff_data, }, + { .compatible = "sff,sfp", .data = &sfp_data, }, ++ { .compatible = "sff,sfp+", .data = &sfp_data, }, + { }, + }; + MODULE_DEVICE_TABLE(of, sfp_of_match); |