]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k/mac: oss irq fixes
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 23 Oct 2011 14:11:18 +0000 (01:11 +1100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 13 Nov 2011 10:20:30 +0000 (11:20 +0100)
commit806682a0d856992da54f61a3f47f2be297d9e819
tree4fd3cd51c2a29d14aabe221e4bf01bc34e941ef3
parent05a72870c2f493ab9fa1071d27a37e778e174ffb
m68k/mac: oss irq fixes

The IOP driver calls into the OSS driver to enable its IRQ. This undesirable coupling between drivers only exists because the OSS driver doesn't correctly handle all of its machspec IRQs.

Fix OSS handling of enable/disable for VIA1 IRQs (8 thru 15) which includes MAC_IRQ_ADB.

Back when I implemented pmac_zilog support I redefined IRQ_MAC_SCC incorrectly. Change this to a machspec IRQ so that it works on OSS.

Clean up the unused OSS audio IRQ and OSS_IRQLEV_* cruft that only confuses things.

Fix the OSS description in macints.c and remove an obsolete comment.

Don't enable the VIA1 irq before registering the handler.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/mac_oss.h
arch/m68k/include/asm/macints.h
arch/m68k/mac/config.c
arch/m68k/mac/iop.c
arch/m68k/mac/macints.c
arch/m68k/mac/oss.c