diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-04-14 20:17:13 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-01-18 10:17:19 +0000 |
commit | e7cbd2269100db7206c3288bb2f5ad1a94db71ae (patch) | |
tree | e9b207e5d5703feb3082fa467fdf090c06d04fe2 | |
parent | 3034babd59f9d069e289443394fc6b5260f9599b (diff) |
net: sfp: add sfp+ compatible [*not for mainline*]
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 d4a03bd0a1cf..f84f78da2154 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -304,6 +304,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); |