X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=util%2Fgetpir%2Fpirq_routing.h;h=88adc210ba39246d17e3d4ad5437d98ec66fe781;hb=f49f7c851477a91587308de9a2553e91ed3c22e2;hp=ba69fb7c8d6f106ae7d2d1b029677c17355def96;hpb=775c04e53743150dbd47ef85986b681ab5522618;p=coreboot.git diff --git a/util/getpir/pirq_routing.h b/util/getpir/pirq_routing.h index ba69fb7c8..88adc210b 100644 --- a/util/getpir/pirq_routing.h +++ b/util/getpir/pirq_routing.h @@ -31,7 +31,7 @@ struct irq_routing_table { uint8_t rtr_bus, rtr_devfn; /* Where the interrupt router lies */ uint16_t exclusive_irqs; /* IRQs devoted exclusively to PCI usage */ uint16_t rtr_vendor, rtr_device; /* Vendor and device ID of interrupt router */ - uint32_t miniport_data; /* Crap */ + uint32_t miniport_data; /* Miniport data */ uint8_t rfu[11]; uint8_t checksum; /* Modulo 256 checksum must give zero */ struct irq_info slots[IRQ_SLOTS_COUNT]; @@ -39,6 +39,10 @@ struct irq_routing_table { extern const struct irq_routing_table intel_irq_routing_table; +#ifdef GETPIR +#define copy_pirq_routing_table(start) (start) +unsigned long write_pirq_routing_table(unsigned long start); +#else #if CONFIG_HAVE_PIRQ_TABLE==1 unsigned long copy_pirq_routing_table(unsigned long start); unsigned long write_pirq_routing_table(unsigned long start); @@ -46,5 +50,6 @@ unsigned long write_pirq_routing_table(unsigned long start); #define copy_pirq_routing_table(start) (start) #define write_pirq_routing_table(start) (start) #endif +#endif #endif /* ARCH_PIRQ_ROUTING_H */