don't hardcode CONFIG_PC80_SYSTEM
Signed-off-by: Stefan Reinauer <stepan@coreboot.org> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6187 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
8aedcbc436
commit
5fb62168f6
|
@ -48,7 +48,6 @@
|
||||||
#if CONFIG_CARDBUS_PLUGIN_SUPPORT == 1
|
#if CONFIG_CARDBUS_PLUGIN_SUPPORT == 1
|
||||||
#include <device/cardbus.h>
|
#include <device/cardbus.h>
|
||||||
#endif
|
#endif
|
||||||
#define CONFIG_PC80_SYSTEM 1
|
|
||||||
#if CONFIG_PC80_SYSTEM == 1
|
#if CONFIG_PC80_SYSTEM == 1
|
||||||
#include <pc80/i8259.h>
|
#include <pc80/i8259.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -1262,9 +1261,11 @@ void pci_assign_irqs(unsigned bus, unsigned slot,
|
||||||
printk(BIOS_DEBUG, " Readback = %d\n", irq);
|
printk(BIOS_DEBUG, " Readback = %d\n", irq);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_PC80_SYSTEM == 1
|
||||||
/* Change to level triggered. */
|
/* Change to level triggered. */
|
||||||
i8259_configure_irq_trigger(pIntAtoD[line - 1],
|
i8259_configure_irq_trigger(pIntAtoD[line - 1],
|
||||||
IRQ_LEVEL_TRIGGERED);
|
IRQ_LEVEL_TRIGGERED);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue