mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[POWERPC] Add arch/powerpc driver for UIC, PPC4xx interrupt controller
This patch adds a driver to arch/powerpc/sysdev for the UIC, the on-chip interrupt controller from IBM/AMCC 4xx chips. It uses the new irq host mapping infrastructure. Signed-off-by: David Gibson <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
f65573314e
commit
e58923ed14
3 changed files with 366 additions and 0 deletions
23
include/asm-powerpc/uic.h
Normal file
23
include/asm-powerpc/uic.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* include/asm-powerpc/uic.h
|
||||
*
|
||||
* IBM PPC4xx UIC external definitions and structure.
|
||||
*
|
||||
* Maintainer: David Gibson <dwg@au1.ibm.com>
|
||||
* Copyright 2007 IBM Corporation.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*/
|
||||
#ifndef _ASM_POWERPC_UIC_H
|
||||
#define _ASM_POWERPC_UIC_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
extern void __init uic_init_tree(void);
|
||||
extern unsigned int uic_get_irq(void);
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* _ASM_POWERPC_UIC_H */
|
||||
Loading…
Reference in a new issue