diff options
| author | Hans-Frieder Vogt <[email protected]> | 2025-03-22 10:45:57 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-25 20:53:21 +0000 |
| commit | 07cfe3a557564ad7d982625ce1f5d8b05a016f68 (patch) | |
| tree | cafe88458f13670ad4aca025860a5d9468159fbc /net/core/dev_api.c | |
| parent | net: tn40xx: create swnode for mdio and aqr105 phy and add to mdiobus (diff) | |
| download | kernel-07cfe3a557564ad7d982625ce1f5d8b05a016f68.tar.gz kernel-07cfe3a557564ad7d982625ce1f5d8b05a016f68.zip | |
net: tn40xx: prepare tn40xx driver to find phy of the TN9510 card
Prepare the tn40xx driver to load for Tehuti TN9510 cards, which require
bit 3 in the register TN40_REG_MDIO_CMD_STAT to be set. The function of bit
3 is unclear, but may have something to do with the length of the preamble
in the MDIO communication. If bit 3 is not set, the PHY will not be found
when performing a scan for PHYs. Use the available tn40_mdio_set_speed
function which includes setting bit 3. Just move the function to before the
devm_mdio_register function, which scans the mdio bus for PHYs.
Signed-off-by: Hans-Frieder Vogt <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: FUJITA Tomonori <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
