From 6407f37373093fd56cde9e20b0b5a878b67521ca Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Sun, 3 May 2009 19:03:00 +0000 Subject: use PCI_HEADER_TYPE. use symbolic value instead of 0x0e and related value. Signed-off-by: Isaku Yamahata --- hw/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/acpi.c') diff --git a/hw/acpi.c b/hw/acpi.c index 7e91405..dbaf18a 100644 --- a/hw/acpi.c +++ b/hw/acpi.c @@ -515,7 +515,7 @@ i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base, pci_conf[0x08] = 0x03; // revision number pci_conf[0x09] = 0x00; pci_config_set_class(pci_conf, PCI_CLASS_BRIDGE_OTHER); - pci_conf[0x0e] = 0x00; // header_type + pci_conf[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; // header_type pci_conf[0x3d] = 0x01; // interrupt pin 1 pci_conf[0x40] = 0x01; /* PM io base read only bit */ -- cgit v1.1