diff options
author | Stefan Reinauer <stepan@openbios.org> | 2005-02-08 09:29:19 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2005-02-08 09:29:19 +0000 |
commit | df08a1d19697fe4bfc956c5664e8eb5ba6669bd6 (patch) | |
tree | 5370c361ff7e08c6062c1fe12abbdf7784b0068a | |
parent | e30042da3ec36dc1b105c5c082dc098131456b78 (diff) | |
download | coreboot-df08a1d19697fe4bfc956c5664e8eb5ba6669bd6.tar.xz |
generous iteration on the device tree removed.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/arch/i386/include/arch/acpi.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/i386/include/arch/acpi.h index ab683eb4a6..d51195527c 100644 --- a/src/arch/i386/include/arch/acpi.h +++ b/src/arch/i386/include/arch/acpi.h @@ -236,12 +236,9 @@ void acpi_create_facs(acpi_facs_t *facs); void acpi_write_rsdt(acpi_rsdt_t *rsdt); void acpi_write_rsdp(acpi_rsdp_t *rsdp, acpi_rsdt_t *rsdt); -#define ACPI_WRITE_MADT_IOAPIC(bus,device,fn,id) \ +#define ACPI_WRITE_MADT_IOAPIC(dev,id) \ do { \ - device_t dev; \ struct resource *res; \ - dev = dev_find_slot(bus, PCI_DEVFN(device,fn)); \ - if (!dev) break; \ res = find_resource(dev, PCI_BASE_ADDRESS_0); \ if (!res) break; \ current += acpi_create_madt_ioapic( \ |