phy: marvell: add mv88e6321 internal phys to the marvell phy driver
This enables interrupt driven link change detection. Signed-off-by: Jan Sondhauss <jan.sondhauss@wago.com>
This commit is contained in:
committed by
Oleg Karfich
parent
02760f6efa
commit
488e0b71d7
@@ -3733,6 +3733,24 @@ static struct phy_driver marvell_drivers[] = {
|
||||
.led_hw_control_set = m88e1318_led_hw_control_set,
|
||||
.led_hw_control_get = m88e1318_led_hw_control_get,
|
||||
},
|
||||
{
|
||||
.phy_id = MARVELL_PHY_ID_88E6321,
|
||||
.phy_id_mask = MARVELL_PHY_ID_MASK,
|
||||
.name = "Marvell 88E6321",
|
||||
.features = PHY_BASIC_FEATURES,
|
||||
.probe = marvell_probe,
|
||||
.config_aneg = &genphy_config_aneg,
|
||||
.config_init = &genphy_config_init,
|
||||
.aneg_done = &marvell_aneg_done,
|
||||
.read_status = &marvell_read_status,
|
||||
.config_intr = &marvell_config_intr,
|
||||
.handle_interrupt = marvell_handle_interrupt,
|
||||
.resume = &genphy_resume,
|
||||
.suspend = &genphy_suspend,
|
||||
.get_sset_count = marvell_get_sset_count,
|
||||
.get_strings = marvell_get_strings,
|
||||
.get_stats = marvell_get_stats,
|
||||
},
|
||||
};
|
||||
|
||||
module_phy_driver(marvell_drivers);
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#define MARVELL_PHY_ID_88E2110 0x002b09b0
|
||||
#define MARVELL_PHY_ID_88X2222 0x01410f10
|
||||
#define MARVELL_PHY_ID_88Q2110 0x002b0980
|
||||
#define MARVELL_PHY_ID_88E6321 0x01410c00
|
||||
|
||||
/* Marvel 88E1111 in Finisar SFP module with modified PHY ID */
|
||||
#define MARVELL_PHY_ID_88E1111_FINISAR 0x01ff0cc0
|
||||
|
||||
Reference in New Issue
Block a user