Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tg3: Add param
short_preamble
to enable MDIO traffic to external PHYs
Add parameter to enable *short preamble* for MAC, so MDIO access to some external PHY, like BCM54616, can be validated. Applies to the five platforms below, that have the ethernet controller BCM5720: as7116_54x, as7326_56x, as7716_32x-r0, as7716_32xb, and as7816_64x Verified by mii-tool. (31 is the address of external phy). root@sonic:/home/admin# mii-tool -v eth0 -p 31 using the specified MII index 31. eth0: negotiated, link ok product info: vendor 00:d8:97, model 17 rev 2 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: flow-control link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD Note, this upstreams a patch to the SONiC Linux kernel added in 2018 [1][2][3]. [1]: sonic-net/sonic-linux-kernel#71 [2]: sonic-net/sonic-linux-kernel@ad754bd [3]: sonic-net/sonic-buildimage#2318 Signed-off-by: Roy Lee <roy_lee@accton.com> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: NipaLocal <nipa@local>
- Loading branch information