e1000: Do not reinit pci config space to 0
commit2fd0f9328634d0b156add2b4d7c10f7c193d2e20
authorAmit Shah <amit.shah@redhat.com>
Mon, 4 May 2009 12:32:04 +0000 (4 18:02 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 May 2009 20:57:41 +0000 (8 15:57 -0500)
tree9402e44b8ffae166e2a08d9f6f694ad8404fe5bc
parent8bd8199f708c41fd779e2b84a7bcc1b8cdb5b753
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