/* ASB2305 Initialisation * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licence * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ #include <linux/kernel.h> #include <linux/param.h> #include <linux/init.h> #include <linux/pci.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/setup.h> #include <asm/processor.h> #include <asm/intctl-regs.h> #include <asm/serial-regs.h> #include <unit/serial.h> /* * initialise some of the unit hardware before gdbstub is set up */
asmlinkage void __init unit_init(void) { #ifndef CONFIG_GDBSTUB_ON_TTYSx /* set the 16550 interrupt line to level 3 if not being used for GDB */ #ifdef CONFIG_EXT_SERIAL_IRQ_LEVEL set_intr_level(XIRQ0, NUM2GxICR_LEVEL(CONFIG_EXT_SERIAL_IRQ_LEVEL)); #endif #endif /* CONFIG_GDBSTUB_ON_TTYSx */ }Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 21 | 67.74% | 1 | 50.00% |
Akira Takeuchi | 10 | 32.26% | 1 | 50.00% |
Total | 31 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 52 | 98.11% | 1 | 50.00% |
Akira Takeuchi | 1 | 1.89% | 1 | 50.00% |
Total | 53 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 121 | 88.32% | 2 | 40.00% |
Akira Takeuchi | 11 | 8.03% | 1 | 20.00% |
Geert Uytterhoeven | 3 | 2.19% | 1 | 20.00% |
Al Viro | 2 | 1.46% | 1 | 20.00% |
Total | 137 | 100.00% | 5 | 100.00% |