]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/asm-mips/dec/tc.h
Linux-2.6.12-rc2
[mirror_ubuntu-bionic-kernel.git] / include / asm-mips / dec / tc.h
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
13 extern 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 */
21 extern int search_tc_card(const char *);
22 /*
23 * Marks the card in slot as used
24 */
25 extern void claim_tc_card(int);
26 /*
27 * Marks the card in slot as free
28 */
29 extern void release_tc_card(int);
30 /*
31 * Return base address of card in slot
32 */
33 extern unsigned long get_tc_base_addr(int);
34 /*
35 * Return interrupt number of slot
36 */
37 extern unsigned long get_tc_irq_nr(int);
38 /*
39 * Return TURBOchannel clock frequency in hz
40 */
41 extern unsigned long get_tc_speed(void);
42
43 #endif