e1000: Do not reinit pci config space to 0
authorAmit Shah <amit.shah@redhat.com>
Mon, 4 May 2009 12:32:04 +0000 (18:02 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 May 2009 20:24:10 +0000 (15:24 -0500)
commit4a794a626d6442d66ba32dc4931ea0f336dd87fc
tree2eed5a09d0ec7c879a9a7e5afa84b9b042aba682
parent79d5ca5617cfc9be13a4f314ed800fca1267d903
e1000: Do not reinit pci config space to 0

pci_register_device already mallocs the pci config space buffer filled
with zeroes.

Doing this again breaks some default config space writes like
setting the subsystem vendor id and subsystem device id.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/e1000.c