Path: blob/master/arch/mips/txx9/generic/irq_tx3927.c
10818 views
/*1* Common tx3927 irq handler2*3* This file is subject to the terms and conditions of the GNU General Public4* License. See the file "COPYING" in the main directory of this archive5* for more details.6*7* Copyright 2001 MontaVista Software Inc.8* Copyright (C) 2000-2001 Toshiba Corporation9*/10#include <linux/init.h>11#include <asm/txx9irq.h>12#include <asm/txx9/tx3927.h>1314void __init tx3927_irq_init(void)15{16int i;1718txx9_irq_init(TX3927_IRC_REG);19/* raise priority for timers, sio */20for (i = 0; i < TX3927_NR_TMR; i++)21txx9_irq_set_pri(TX3927_IR_TMR(i), 6);22for (i = 0; i < TX3927_NR_SIO; i++)23txx9_irq_set_pri(TX3927_IR_SIO(i), 7);24}252627