diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-14 20:31:54 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-14 20:31:54 -0400 |
commit | 6dc6472581f693b5fc95aebedf67b4960fb85cf0 (patch) | |
tree | 06a5a9a08519950575505273eabced331ed51405 /include/asm-mips/dec/ioasic.h | |
parent | ee673eaa72d8d185012b1027a05e25aba18c267f (diff) | |
parent | 8acd3a60bcca17c6d89c73cee3ad6057eb83ba1e (diff) |
Merge commit 'origin'
Manual fixup of conflicts on:
arch/powerpc/include/asm/dcr-regs.h
drivers/net/ibm_newemac/core.h
Diffstat (limited to 'include/asm-mips/dec/ioasic.h')
-rw-r--r-- | include/asm-mips/dec/ioasic.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/include/asm-mips/dec/ioasic.h b/include/asm-mips/dec/ioasic.h deleted file mode 100644 index 98badd6bf22d..000000000000 --- a/include/asm-mips/dec/ioasic.h +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /* | ||
2 | * include/asm-mips/dec/ioasic.h | ||
3 | * | ||
4 | * DEC I/O ASIC access operations. | ||
5 | * | ||
6 | * Copyright (C) 2000, 2002, 2003 Maciej W. Rozycki | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License | ||
10 | * as published by the Free Software Foundation; either version | ||
11 | * 2 of the License, or (at your option) any later version. | ||
12 | */ | ||
13 | |||
14 | #ifndef __ASM_DEC_IOASIC_H | ||
15 | #define __ASM_DEC_IOASIC_H | ||
16 | |||
17 | #include <linux/spinlock.h> | ||
18 | #include <linux/types.h> | ||
19 | |||
20 | extern spinlock_t ioasic_ssr_lock; | ||
21 | |||
22 | extern volatile u32 *ioasic_base; | ||
23 | |||
24 | static inline void ioasic_write(unsigned int reg, u32 v) | ||
25 | { | ||
26 | ioasic_base[reg / 4] = v; | ||
27 | } | ||
28 | |||
29 | static inline u32 ioasic_read(unsigned int reg) | ||
30 | { | ||
31 | return ioasic_base[reg / 4]; | ||
32 | } | ||
33 | |||
34 | extern void init_ioasic_irqs(int base); | ||
35 | |||
36 | extern void dec_ioasic_clocksource_init(void); | ||
37 | |||
38 | #endif /* __ASM_DEC_IOASIC_H */ | ||