[qemu] HVM acpi port init update.

Removed the acpi port depency on USB exist.

Based on a patch from: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
This commit is contained in:
chris@kneesaa.uk.xensource.com committed 2006-08-09 20:07:01 +01:00
1 parent 559b3dff6d
commit 54ec6e3d26
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -877,14 +877,14 @@ static void pc_init1(uint64_t ram_size, int vga_ram_size, int boot_device,
cmos_init(ram_size, boot_device, bs_table, timeoffset);
/* using PIIX4 acpi model */
if (pci_enabled && acpi_enabled)
pci_piix4_acpi_init(pci_bus, piix3_devfn + 3);
if (pci_enabled && usb_enabled) {
usb_uhci_init(pci_bus, piix3_devfn + 2);
}
/* using PIIX4 acpi model */
if (pci_enabled && acpi_enabled)
pci_piix4_acpi_init(pci_bus, piix3_devfn + (usb_enabled ? 3 : 2));
#ifndef CONFIG_DM
if (pci_enabled && acpi_enabled) {
piix4_pm_init(pci_bus, piix3_devfn + 3);
+1 -1
View File
@@ -380,7 +380,7 @@ void pci_piix4_acpi_init(PCIBus *bus, int devfn)
PCIAcpiState *d;
uint8_t *pci_conf;
/* register a function 3 of PIIX4 */
/* register a function devfn of PIIX4 */
d = (PCIAcpiState *)pci_register_device(
bus, "PIIX4 ACPI", sizeof(PCIAcpiState),
devfn, NULL, NULL);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.