aboutsummaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-07-12 20:53:57 +0900
committerAurelien Jarno <aurelien@aurel32.net>2010-07-12 18:36:02 +0200
commitaa5fb7b3bf388d643bd9c6e6fee9ace5db2e590f (patch)
treec12cb2796bada43fcdb1b5e12af3710cb3b5e54c /hw/ide
parent935fc175597b2f1588a8030e0b8df07973b1c1db (diff)
downloadqemu-aa5fb7b3bf388d643bd9c6e6fee9ace5db2e590f.zip
qemu-aa5fb7b3bf388d643bd9c6e6fee9ace5db2e590f.tar.gz
qemu-aa5fb7b3bf388d643bd9c6e6fee9ace5db2e590f.tar.bz2
pci/multi function bit: fix vt82c686.c.
The file, vt82c686.c, was added after the change set of b80d4a9887fa4b6cc63f8c3a13ab2a45054d3e5c and fecb93c45c749a4c994d8d12bdee17ce2012de9e are created, but before the patch series was commit. So similar fix is needed to vt82c686.c. Cc: Huacai Chen <zltjiangshi@gmail.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/ide')
-rw-r--r--hw/ide/via.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ide/via.c b/hw/ide/via.c
index a403e8c..b2c7cad 100644
--- a/hw/ide/via.c
+++ b/hw/ide/via.c
@@ -150,7 +150,6 @@ static int vt82c686b_ide_initfn(PCIDevice *dev)
pci_config_set_class(pci_conf, PCI_CLASS_STORAGE_IDE);
pci_config_set_prog_interface(pci_conf, 0x8a); /* legacy ATA mode */
pci_config_set_revision(pci_conf,0x06); /* Revision 0.6 */
- pci_conf[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; /* header_type */
pci_set_long(pci_conf + PCI_CAPABILITY_LIST, 0x000000c0);
qemu_register_reset(via_reset, d);