aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/xilinx_intc.c
diff options
context:
space:
mode:
authorRoderick Colenbrander <thunderbird2k@gmail.com>2009-06-06 10:15:24 -0600
committerGrant Likely <grant.likely@secretlab.ca>2009-06-06 10:15:24 -0600
commite52ba9c54176c9757ab6b18bea7b7ed51e2faf16 (patch)
tree6efb90176a3401f15dd3e914fdc3c682946533b4 /arch/powerpc/sysdev/xilinx_intc.c
parent1745fbc744a934b235c2e5ecb5380079fa54be38 (diff)
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/xilinx_intc.c')
-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 90b57724a5e..3ee1fd37bbf 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);
}