mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
98684d99b2
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>
25 lines
855 B
Diff
25 lines
855 B
Diff
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);
|