mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Now that the MIPS GIC irqchip lives in drivers/irqchip/, move its header over to include/linux/irqchip/. Signed-off-by: Andrew Bresticker <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Paul Burton <[email protected]> Cc: Qais Yousef <[email protected]> Cc: John Crispin <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/8129/ Signed-off-by: Ralf Baechle <[email protected]>
33 lines
925 B
C
33 lines
925 B
C
/*
|
|
* 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) 2000,2012 MIPS Technologies, Inc. All rights reserved.
|
|
* Douglas Leung <[email protected]>
|
|
* Steven J. Hill <[email protected]>
|
|
*/
|
|
#ifndef _MIPS_SEAD3INT_H
|
|
#define _MIPS_SEAD3INT_H
|
|
|
|
#include <linux/irqchip/mips-gic.h>
|
|
|
|
/* SEAD-3 GIC address space definitions. */
|
|
#define GIC_BASE_ADDR 0x1b1c0000
|
|
#define GIC_ADDRSPACE_SZ (128 * 1024)
|
|
|
|
/* CPU interrupt offsets */
|
|
#define CPU_INT_GIC 2
|
|
#define CPU_INT_EHCI 2
|
|
#define CPU_INT_UART0 4
|
|
#define CPU_INT_UART1 4
|
|
#define CPU_INT_NET 6
|
|
|
|
/* GIC interrupt offsets */
|
|
#define GIC_INT_NET GIC_SHARED_TO_HWIRQ(0)
|
|
#define GIC_INT_UART1 GIC_SHARED_TO_HWIRQ(2)
|
|
#define GIC_INT_UART0 GIC_SHARED_TO_HWIRQ(3)
|
|
#define GIC_INT_EHCI GIC_SHARED_TO_HWIRQ(5)
|
|
|
|
#endif /* !(_MIPS_SEAD3INT_H) */
|