cregit-Linux how code gets into the kernel

Release 4.10 arch/mips/sni/irq.c

Directory: arch/mips/sni
/*
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 1992 Linus Torvalds
 * Copyright (C) 1994 - 2000 Ralf Baechle
 * Copyright (C) 2006 Thomas Bogendoerfer
 */
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>

#include <asm/i8259.h>
#include <asm/io.h>
#include <asm/sni.h>
#include <asm/irq.h>
#include <asm/irq_cpu.h>


void (*sni_hwint)(void);


asmlinkage void plat_irq_dispatch(void) { sni_hwint(); }

Contributors

PersonTokensPropCommitsCommitProp
linus torvaldslinus torvalds654.55%133.33%
thomas bogendoerferthomas bogendoerfer436.36%133.33%
ralf baechleralf baechle19.09%133.33%
Total11100.00%3100.00%

/* ISA irq handler */
static irqreturn_t sni_isa_irq_handler(int dummy, void *p) { int irq; irq = i8259_irq(); if (unlikely(irq < 0)) return IRQ_NONE; generic_handle_irq(irq); return IRQ_HANDLED; }

Contributors

PersonTokensPropCommitsCommitProp
andrew mortonandrew morton1434.15%116.67%
thomas bogendoerferthomas bogendoerfer1331.71%233.33%
linus torvaldslinus torvalds1229.27%116.67%
ralf baechleralf baechle24.88%233.33%
Total41100.00%6100.00%

struct irqaction sni_isa_irq = { .handler = sni_isa_irq_handler, .name = "ISA", .flags = IRQF_SHARED }; /* * On systems with i8259-style interrupt controllers we assume for * driver compatibility reasons interrupts 0 - 15 to be the i8295 * interrupts even if the hardware uses a different interrupt numbering. */
void __init arch_init_irq(void) { init_i8259_irqs(); /* Integrated i8259 */ switch (sni_brd_type) { case SNI_BRD_10: case SNI_BRD_10NEW: case SNI_BRD_TOWER_OASIC: case SNI_BRD_MINITOWER: sni_a20r_irq_init(); break; case SNI_BRD_PCI_TOWER: sni_pcit_irq_init(); break; case SNI_BRD_PCI_TOWER_CPLUS: sni_pcit_cplus_irq_init(); break; case SNI_BRD_RM200: sni_rm200_irq_init(); break; case SNI_BRD_PCI_MTOWER: case SNI_BRD_PCI_DESKTOP: case SNI_BRD_PCI_MTOWER_CPLUS: sni_pcimt_irq_init(); break; } }

Contributors

PersonTokensPropCommitsCommitProp
thomas bogendoerferthomas bogendoerfer4769.12%125.00%
ralf baechleralf baechle2029.41%250.00%
linus torvaldslinus torvalds11.47%125.00%
Total68100.00%4100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
thomas bogendoerferthomas bogendoerfer9350.82%225.00%
linus torvaldslinus torvalds4323.50%112.50%
ralf baechleralf baechle2915.85%337.50%
andrew mortonandrew morton179.29%112.50%
thomas gleixnerthomas gleixner10.55%112.50%
Total183100.00%8100.00%
Directory: arch/mips/sni
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.