Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ag71xx: fix SGMII invalid fixup execution
Above this code section, follow comment is present: * Across resets SGMII link status goes to weird state. * If SGMII_DEBUG register reads other than 0x1f or 0x10, * we are for sure in a bad state. Fix the loop check to we actually check for these 2 values. Currently this results in the devices being resetted 20 times and giving up printing an error .. while it still works nicely afterwards. Signed-off-by: Koen Vandeputte <[email protected]>
- Loading branch information