generous iteration on the device tree removed.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2005-02-08 09:29:19 +00:00
parent e30042da3e
commit df08a1d196
1 changed files with 1 additions and 4 deletions

View File

@ -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( \