aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/dec/tc.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-mips/dec/tc.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
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