X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-mips%2Fpci%2Fbridge.h;h=b4ee995c56e6370ebb492e80c0869501594b56be;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=c043f643fac64ea00e52bb45549045d75a468f9c;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-mips/pci/bridge.h b/include/asm-mips/pci/bridge.h index c043f643f..b4ee995c5 100644 --- a/include/asm-mips/pci/bridge.h +++ b/include/asm-mips/pci/bridge.h @@ -13,7 +13,7 @@ #define _ASM_PCI_BRIDGE_H #include -#include +#include #include /* generic widget header */ /* I/O page size */ @@ -830,7 +830,6 @@ typedef union ate_u { #define BRIDGE_INTERNAL_ATES 128 - struct bridge_controller { struct pci_controller pc; struct resource mem; @@ -840,9 +839,13 @@ struct bridge_controller { unsigned int widget_id; unsigned int irq_cpu; dma64_addr_t baddr; + unsigned int pci_int[8]; }; #define BRIDGE_CONTROLLER(bus) \ ((struct bridge_controller *)((bus)->sysdata)) +extern void register_bridge_irq(unsigned int irq); +extern int request_bridge_irq(struct bridge_controller *bc); + #endif /* _ASM_PCI_BRIDGE_H */