aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/dec/tc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/dec/tc.h')
-rw-r--r--include/asm-mips/dec/tc.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/include/asm-mips/dec/tc.h b/include/asm-mips/dec/tc.h
new file mode 100644
index 000000000000..d7bba43f863a
--- /dev/null
+++ b/include/asm-mips/dec/tc.h
@@ -0,0 +1,43 @@
1/*
2 * Interface to the TURBOchannel related routines
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (c) 1998 Harald Koerfgen
9 */
10#ifndef ASM_TC_H
11#define ASM_TC_H
12
13extern unsigned long system_base;
14
15/*
16 * Search for a TURBOchannel Option Module
17 * with a certain name. Returns slot number
18 * of the first card not in use or -ENODEV
19 * if none found.
20 */
21extern int search_tc_card(const char *);
22/*
23 * Marks the card in slot as used
24 */
25extern void claim_tc_card(int);
26/*
27 * Marks the card in slot as free
28 */
29extern void release_tc_card(int);
30/*
31 * Return base address of card in slot
32 */
33extern unsigned long get_tc_base_addr(int);
34/*
35 * Return interrupt number of slot
36 */
37extern unsigned long get_tc_irq_nr(int);
38/*
39 * Return TURBOchannel clock frequency in hz
40 */
41extern unsigned long get_tc_speed(void);
42
43#endif