mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
opencores_eth: indicate autonegotiation completion
Indicate that autonegotiation is complete in the MII BMSR. This fixes networking on xtfpga platform in linux v4.5. Cc: qemu-stable@nongnu.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
a648c13738
commit
34fe9af09b
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ static void mii_reset(Mii *s)
|
|||
{
|
||||
memset(s->regs, 0, sizeof(s->regs));
|
||||
s->regs[MII_BMCR] = 0x1000;
|
||||
s->regs[MII_BMSR] = 0x7848; /* no ext regs */
|
||||
s->regs[MII_BMSR] = 0x7868; /* no ext regs */
|
||||
s->regs[MII_PHYIDR1] = 0x2000;
|
||||
s->regs[MII_PHYIDR2] = 0x5c90;
|
||||
s->regs[MII_ANAR] = 0x01e1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue