]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pcnet.c
pci: don't overwrite multi functio bit in pci header type.
[mirror_qemu.git] / hw / pcnet.c
index 5e63eb5c06c79c9226e35b678e0351d68203def0..5e7593050e5de883219580e3d126d1c32fcc0492 100644 (file)
@@ -1990,7 +1990,6 @@ static int pci_pcnet_init(PCIDevice *pci_dev)
     /* TODO: 0 is the default anyway, no need to set it. */
     pci_conf[PCI_CLASS_PROG] = 0x00;
     pci_config_set_class(pci_conf, PCI_CLASS_NETWORK_ETHERNET);
-    pci_conf[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; // header_type
 
     /* TODO: not necessary, is set when BAR is registered. */
     pci_set_long(pci_conf + PCI_BASE_ADDRESS_0, PCI_BASE_ADDRESS_SPACE_IO);