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> | 2020-08-31 15:06:00 +0100 |
commit | fc9bd7ee14b657bd9de78e490ab99a4970492212 (patch) | |
tree | b9a5b2324ea24118c384e87bcb0c9c25a4a42a89 /drivers/net | |
parent | af082506c4c153b0e19a0c816cf1fd311b1af51a (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>
Diffstat (limited to 'drivers/net')
-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 9f0844ce9ba7..3260b0998d5c 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -290,6 +290,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); |