From: Ian Jackson Date: Thu, 5 Feb 2009 14:50:07 +0000 (+0000) Subject: clean up piix3_reset() (no more need to set 0x61..0x63 in pci config) X-Git-Tag: t.master-before-merge~20 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3f23188224b7ce69fcf13f52cb1c7977a5372900;p=qemu-xen-3.4-testing.git clean up piix3_reset() (no more need to set 0x61..0x63 in pci config) Now #ifdef CONFIG_DM part become bogus because of 477afee37ca29e156e3309874d100de0bf4e6fd0. So remove it. Signed-off-by: Isaku Yamahata --- diff --git a/hw/piix_pci.c b/hw/piix_pci.c index ee7ad433..955d3081 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -291,12 +291,6 @@ static void piix3_reset(PCIDevice *d) pci_conf[0xab] = 0x00; pci_conf[0xac] = 0x00; pci_conf[0xae] = 0x00; - -#ifdef CONFIG_DM - pci_conf[0x61] = 0x80; - pci_conf[0x62] = 0x80; - pci_conf[0x63] = 0x80; -#endif /* CONFIG_DM */ } #ifndef CONFIG_DM