1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * Common tx3927 irq handler 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * This file is subject to the terms and conditions of the GNU General Public 5*4882a593Smuzhiyun * License. See the file "COPYING" in the main directory of this archive 6*4882a593Smuzhiyun * for more details. 7*4882a593Smuzhiyun * 8*4882a593Smuzhiyun * Copyright 2001 MontaVista Software Inc. 9*4882a593Smuzhiyun * Copyright (C) 2000-2001 Toshiba Corporation 10*4882a593Smuzhiyun */ 11*4882a593Smuzhiyun #include <linux/init.h> 12*4882a593Smuzhiyun #include <asm/txx9irq.h> 13*4882a593Smuzhiyun #include <asm/txx9/tx3927.h> 14*4882a593Smuzhiyun tx3927_irq_init(void)15*4882a593Smuzhiyunvoid __init tx3927_irq_init(void) 16*4882a593Smuzhiyun { 17*4882a593Smuzhiyun int i; 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun txx9_irq_init(TX3927_IRC_REG); 20*4882a593Smuzhiyun /* raise priority for timers, sio */ 21*4882a593Smuzhiyun for (i = 0; i < TX3927_NR_TMR; i++) 22*4882a593Smuzhiyun txx9_irq_set_pri(TX3927_IR_TMR(i), 6); 23*4882a593Smuzhiyun for (i = 0; i < TX3927_NR_SIO; i++) 24*4882a593Smuzhiyun txx9_irq_set_pri(TX3927_IR_SIO(i), 7); 25*4882a593Smuzhiyun } 26