-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add switch api for clause 22 mdio access (#1507)
Why I did it There are 2 mdio access modes: clause 45 and clause 22. The existing sai switch api "switch_mdio_read/switch_mdio_write" does not distinguish the 2 modes. How I did it The new sai switch api "switch_mdio_cl22_ead/switch_mdio_cl22_write" are added for clause 22 mdio access only. How to verify it On a platform with mdio clause 22 device connected to NPU mdio bus, PAI/gearbox will only work with the new new sai switch api when there is no other means to configure the mdio access mode. Signed-off-by: Jiahua Wang <jiahua.wang@broadcom.com>
- Loading branch information
1 parent
19f10ac
commit 1b268a8
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters