Fix for gcc issues.

updated pci_ids.h
This commit is contained in:
Ronald G. Minnich 2002-12-09 02:44:31 +00:00
parent 5691f23e61
commit 1a036302c7
3 changed files with 586 additions and 121 deletions

View file

@ -26,7 +26,11 @@ struct irq_routing_table {
u32 miniport_data; /* Crap */
u8 rfu[11];
u8 checksum; /* Modulo 256 checksum must give zero */
#if GCC_VERSION < 3000
struct irq_info slots[1];
#else
struct irq_info slots[];
#endif
} __attribute__((packed));
extern const struct irq_routing_table intel_irq_routing_table;

View file

@ -4,6 +4,8 @@ object hardwaremain.o
object pirq_routing.o HAVE_PIRQ_TABLE
object vgabios.o CONFIG_VGABIOS
object idt.o CONFIG_REALMODE_IDT
object pci-irq.c CONFIG_PCIBIOS_IRQ
option CONFIG_LOGICAL_CPUS=1
option CONFIG_PCIBIOS_IRQ=0
object c_start.S

File diff suppressed because it is too large Load diff