summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-04-14 20:17:13 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2017-09-23 15:21:06 +0100
commitc6390ebea30077d0a20d951ff6a97553dca10318 (patch)
tree08d89bc1b28a3d1fd789724d97722da6560dea66
parent1143c2c4bcc0e0c7df9ebfa33444050ba28d616e (diff)
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>
-rw-r--r--drivers/net/phy/sfp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 310426774ff8..08b4a5494912 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -1135,6 +1135,7 @@ static int sfp_remove(struct platform_device *pdev)
static const struct of_device_id sfp_of_match[] = {
{ .compatible = "sff,sfp", },
+ { .compatible = "sff,sfp+", },
{ },
};
MODULE_DEVICE_TABLE(of, sfp_of_match);