diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-04-14 20:17:13 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-07-07 16:12:14 +0100 |
commit | a1cc320e0ba27e0b7a807db68cc6ac790697c500 (patch) | |
tree | ec37a168509cd32b83f491ebee4a17034d7e0898 | |
parent | bcfefaf65045e79f3b37dd09163e5dd44285d3e9 (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.c | 1 |
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); |