Re: [Qemu-devel] [PATCH v2 1/2] e1000: Clear MDIC register when PHY addr is invalid

2014-12-17 Thread Jason Wang
- Original Message - > Some drivers probe PHY addresses beyond the first one, and > also (unfortunately) don't check for MDIC_ERROR on reads. It appears > that the driver assumes that the data reads will return zero in this > case (invalid PHY address). Anecdotally, hardware is believed t

[Qemu-devel] [PATCH v2 1/2] e1000: Clear MDIC register when PHY addr is invalid

2014-12-10 Thread Richard Tollerton
Some drivers probe PHY addresses beyond the first one, and also (unfortunately) don't check for MDIC_ERROR on reads. It appears that the driver assumes that the data reads will return zero in this case (invalid PHY address). Anecdotally, hardware is believed to do this; but qemu wasn't, and instead