summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorRoderick Colenbrander <thunderbird2k@gmail.com>2009-06-06 18:15:24 +0200
committerGrant Likely <grant.likely@secretlab.ca>2009-06-06 18:15:24 +0200
commite52ba9c54176c9757ab6b18bea7b7ed51e2faf16 (patch)
tree6efb90176a3401f15dd3e914fdc3c682946533b4 /arch/powerpc/sysdev
parentpowerpc/virtex: refactor intc driver and add support for i8259 cascading (diff)
downloadlinux-e52ba9c54176c9757ab6b18bea7b7ed51e2faf16.tar.xz
linux-e52ba9c54176c9757ab6b18bea7b7ed51e2faf16.zip
powerpc/virtex: Add Xilinx ML510 reference design support
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/xilinx_intc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/powerpc/sysdev/xilinx_intc.c
index 90b57724a5e4..3ee1fd37bbfc 100644
--- a/arch/powerpc/sysdev/xilinx_intc.c
+++ b/arch/powerpc/sysdev/xilinx_intc.c
@@ -257,6 +257,11 @@ static void __init xilinx_i8259_setup_cascade(void)
i8259_init(cascade_node, 0);
set_irq_chained_handler(cascade_irq, xilinx_i8259_cascade);
+ /* Program irq 7 (usb/audio), 14/15 (ide) to level sensitive */
+ /* This looks like a dirty hack to me --gcl */
+ outb(0xc0, 0x4d0);
+ outb(0xc0, 0x4d1);
+
out:
of_node_put(cascade_node);
}