rtlx.c (9cdf083f981b8d37b3212400a359368661385099) | rtlx.c (97dcb82de6cc99a5669eb8e342efc24cceb1e77e) |
---|---|
1/* 2 * Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved. 3 * Copyright (C) 2005, 06 Ralf Baechle (ralf@linux-mips.org) 4 * 5 * This program is free software; you can distribute it and/or modify it 6 * under the terms of the GNU General Public License (Version 2) as 7 * published by the Free Software Foundation. 8 * --- 49 unchanged lines hidden (view full) --- 58static int irq_num; 59static struct vpe_notifications notify; 60static int sp_stopping = 0; 61 62extern void *vpe_get_shared(int index); 63 64static void rtlx_dispatch(void) 65{ | 1/* 2 * Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved. 3 * Copyright (C) 2005, 06 Ralf Baechle (ralf@linux-mips.org) 4 * 5 * This program is free software; you can distribute it and/or modify it 6 * under the terms of the GNU General Public License (Version 2) as 7 * published by the Free Software Foundation. 8 * --- 49 unchanged lines hidden (view full) --- 58static int irq_num; 59static struct vpe_notifications notify; 60static int sp_stopping = 0; 61 62extern void *vpe_get_shared(int index); 63 64static void rtlx_dispatch(void) 65{ |
66 do_IRQ(MIPSCPU_INT_BASE + MIPS_CPU_RTLX_IRQ); | 66 do_IRQ(MIPS_CPU_IRQ_BASE + MIPS_CPU_RTLX_IRQ); |
67} 68 69 70/* Interrupt handler may be called before rtlx_init has otherwise had 71 a chance to run. 72*/ 73static irqreturn_t rtlx_interrupt(int irq, void *dev_id) 74{ --- 411 unchanged lines hidden (view full) --- 486}; 487 488static struct irqaction rtlx_irq = { 489 .handler = rtlx_interrupt, 490 .flags = IRQF_DISABLED, 491 .name = "RTLX", 492}; 493 | 67} 68 69 70/* Interrupt handler may be called before rtlx_init has otherwise had 71 a chance to run. 72*/ 73static irqreturn_t rtlx_interrupt(int irq, void *dev_id) 74{ --- 411 unchanged lines hidden (view full) --- 486}; 487 488static struct irqaction rtlx_irq = { 489 .handler = rtlx_interrupt, 490 .flags = IRQF_DISABLED, 491 .name = "RTLX", 492}; 493 |
494static int rtlx_irq_num = MIPSCPU_INT_BASE + MIPS_CPU_RTLX_IRQ; | 494static int rtlx_irq_num = MIPS_CPU_IRQ_BASE + MIPS_CPU_RTLX_IRQ; |
495 496static char register_chrdev_failed[] __initdata = 497 KERN_ERR "rtlx_module_init: unable to register device\n"; 498 499static int rtlx_module_init(void) 500{ 501 int i; 502 --- 38 unchanged lines hidden --- | 495 496static char register_chrdev_failed[] __initdata = 497 KERN_ERR "rtlx_module_init: unable to register device\n"; 498 499static int rtlx_module_init(void) 500{ 501 int i; 502 --- 38 unchanged lines hidden --- |