mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
a7e68927d0
Refreshed all patches. This bump contains upstream commits which seem to avoid (not properly fix) the errors as seen in FS#2305 and FS#2297 Altered patches: - 403-net-mvneta-convert-to-phylink.patch - 410-sfp-hack-allow-marvell-10G-phy-support-to-use-SFP.patch Compile-tested on: ar71xx, cns3xxx, imx6, mvebu, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
25 lines
763 B
Diff
25 lines
763 B
Diff
From 3344f73509a34d2124b716efc79cd9787773018b 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: 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
|
|
@@ -1164,6 +1164,7 @@ static int sfp_remove(struct platform_de
|
|
|
|
static const struct of_device_id sfp_of_match[] = {
|
|
{ .compatible = "sff,sfp", },
|
|
+ { .compatible = "sff,sfp+", },
|
|
{ },
|
|
};
|
|
MODULE_DEVICE_TABLE(of, sfp_of_match);
|