diff options
| author | Linus Ziegert <linus.ziegert+qemu@holoplot.com> | 2019-11-19 13:20:27 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-11-19 13:20:27 +0000 |
| commit | 6623d214451ec4f784d1c82c51c655a01fed1b06 (patch) | |
| tree | fd0b4a2864a67440d4953789f60ce5052a67f621 /scripts/qapi/common.py | |
| parent | 3a6606c7aa1e6e687e435c1eae929a396bd866e3 (diff) | |
| download | focaccia-qemu-6623d214451ec4f784d1c82c51c655a01fed1b06.tar.gz focaccia-qemu-6623d214451ec4f784d1c82c51c655a01fed1b06.zip | |
net/cadence_gem: Set PHY autonegotiation restart status
The Linux kernel PHY driver sets AN_RESTART in the BMCR of the PHY when autonegotiation is started. Recently the kernel started to read back the PHY's AN_RESTART bit and now checks whether the autonegotiation is complete and the bit was cleared [1]. Otherwise the link status is down. The emulated PHY needs to clear AN_RESTART immediately to inform the kernel driver about the completion of autonegotiation phase. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c36757eb9dee Signed-off-by: Linus Ziegert <linus.ziegert+qemu@holoplot.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20191104181604.21943-1-linus.ziegert+qemu@holoplot.com Cc: qemu-stable@nongnu.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions