]> git.proxmox.com Git - mirror_qemu.git/commit - hw/net/pcnet.c
moving eeprom initialization
authorWilliam Dauchy <wdauchy@gmail.com>
Sun, 6 Mar 2011 21:27:18 +0000 (22:27 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Mar 2011 13:24:42 +0000 (13:24 +0000)
commit7165448a913bd8f757f588e8f1581c170d8b1775
tree3fa5ca7e5cb2df7f6c1e6da064e42426b54d9699
parente14c8062f4c4c336c6e5fa5b51472ffff5f3fe38
moving eeprom initialization

The initialization should not be only on reset but also when initializing
the device.
It resolves a bug when hot plugging a pci network device: the mac address
was always null.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pcnet.c
hw/rtl8139.c