diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-26 08:47:42 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-26 08:47:42 +0200 |
commit | f9bd170a87948a9e077149b70fb192c563770fdf (patch) | |
tree | c759b57b67ab41a859e19f7dcee571504b368202 /include/asm-powerpc/i8259.h | |
parent | ppc: Use the indirect_pci.c from arch/powerpc/sysdev (diff) | |
download | linux-f9bd170a87948a9e077149b70fb192c563770fdf.tar.xz linux-f9bd170a87948a9e077149b70fb192c563770fdf.zip |
powerpc: Merge i8259.c into arch/powerpc/sysdev
This changes the parameters for i8259_init so that it takes two
parameters: a physical address for generating an interrupt
acknowledge cycle, and an interrupt number offset. i8259_init
now sets the irq_desc[] for its interrupts; all the callers
were doing this, and that code is gone now. This also defines
a CONFIG_PPC_I8259 symbol to select i8259.o for inclusion, and
makes the platforms that need it select that symbol.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/i8259.h')
-rw-r--r-- | include/asm-powerpc/i8259.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/i8259.h b/include/asm-powerpc/i8259.h index 9521ad47740f..fc4bfee124d7 100644 --- a/include/asm-powerpc/i8259.h +++ b/include/asm-powerpc/i8259.h @@ -5,7 +5,8 @@ extern struct hw_interrupt_type i8259_pic; -extern void i8259_init(long intack_addr); +extern void i8259_init(unsigned long intack_addr, int offset); extern int i8259_irq(struct pt_regs *regs); +extern int i8259_irq_cascade(struct pt_regs *regs, void *unused); #endif /* _ASM_POWERPC_I8259_H */ |