]> git.ipfire.org Git - thirdparty/qemu.git/commit
lan9118: fix emulation of MAC address loaded bit in E2P_CMD register
authorAndrew Baumann <Andrew.Baumann@microsoft.com>
Fri, 4 Dec 2015 18:58:49 +0000 (10:58 -0800)
committerJason Wang <jasowang@redhat.com>
Mon, 7 Dec 2015 13:43:48 +0000 (21:43 +0800)
commit12fdd928c8d8ea55108c076dbbfff35ecf8e7a97
treec995f4e9dfab93cee905f2fe3dc8c430412689a0
parent6a9c6470957e935acc796e87e2697340640760f9
lan9118: fix emulation of MAC address loaded bit in E2P_CMD register

There appears to have been a longstanding typo in the implementation
of the "MAC address loaded" bit in the E2P_CMD (EEPROM command)
register. The code was using 0x10, but the controller spec says it
should be bit 8 (0x100).

Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/lan9118.c