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-04-16 23:03:38 +0100 |
commit | 658c198049f37ff9927555f2f1e4ca452eed5192 (patch) | |
tree | d1407ae4815d3788f893ea975ec4134d633c4d5d /drivers/net/phy/sfp.c | |
parent | 5ae3f82b2de02a36da870f1e598c2916df0a02dd (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/phy/sfp.c')
-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 cab08605cbda..48672f3683c3 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); |