Not sure I understand what you mean. We have been using this code without any problem for about 2 years on our Hardware.This patch adds proper handling of the buggy revision A2 of LXT973 phy, addingDoes reading the PHY registers involve bit-banging an MII interface?
precautions linked to ERRATA Item 4:
Revision A2 of LXT973 chip randomly returns the contents of the previous even
register when you read a odd register regularly
If so this code is likely to stall the system for significant
periods (ready phy registers at all can be a problem).
I know some ethernet mac have hardware blocks for reading MII
and even polling one MII register for changes.
Maybe some of this code ought to be using async software
bit-bang - especially when just polling for link status change.
I'm sure it ought to be possible to do one bit-bang action
per clock tick instead of spinning for the required delays.
David