summaryrefslogtreecommitdiff
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2004-08-15 20:35:18 -0700
committerTom Rini <trini@kernel.crashing.org>2004-08-15 20:35:18 -0700
commitad2d538c50e7163dcc90e374195d55d06f8ff978 (patch)
tree4fd04f9247378f8f83dae5b0126d3d3449a92207 /include/asm-ppc
parent96b89248356c51996c3b2693c6c8d5412f17bda1 (diff)
ppc32: On PReP, use residual data for PCI dev -> IRQ, and use it.
Signed-off-by: Leigh Brown <leigh@solinno.co.uk> Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/residual.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-ppc/residual.h b/include/asm-ppc/residual.h
index 1ab4642692c5..2f466a50ff24 100644
--- a/include/asm-ppc/residual.h
+++ b/include/asm-ppc/residual.h
@@ -315,11 +315,18 @@ typedef struct _RESIDUAL {
} RESIDUAL;
+/*
+ * Forward declaration - we can't include <linux/pci.h> because it
+ * breaks the boot loader
+ */
+struct pci_dev;
+
extern RESIDUAL *res;
extern void print_residual_device_info(void);
extern PPC_DEVICE *residual_find_device(unsigned long BusMask,
unsigned char * DevID, int BaseType,
int SubType, int Interface, int n);
+extern int residual_pcidev_irq(struct pci_dev *dev);
extern PnP_TAG_PACKET *PnP_find_packet(unsigned char *p, unsigned packet_tag,
int n);
extern PnP_TAG_PACKET *PnP_find_small_vendor_packet(unsigned char *p,