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> | 2021-07-02 16:35:26 +0100 |
commit | 2452b20b1cb5fe73fa5c269dae7fb323c547414b (patch) | |
tree | c3a237b83e3f11e8361f67667471004068efcc63 | |
parent | 0cab5c9c9ff7ef3a4b6f3c37f637e670cd83fdfb (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 21aefefd19a1..f2484197cbbd 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); |