[TG3]: Add tagged status support.
[linux-2.6/verdex.git] / include / asm-mips / dec / tc.h
blobd7bba43f863a6d02ab29757ba5934fdebb3c848c
1 /*
2 * Interface to the TURBOchannel related routines
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.
8 * Copyright (c) 1998 Harald Koerfgen
9 */
10 #ifndef ASM_TC_H
11 #define ASM_TC_H
13 extern unsigned long system_base;
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.
21 extern int search_tc_card(const char *);
23 * Marks the card in slot as used
25 extern void claim_tc_card(int);
27 * Marks the card in slot as free
29 extern void release_tc_card(int);
31 * Return base address of card in slot
33 extern unsigned long get_tc_base_addr(int);
35 * Return interrupt number of slot
37 extern unsigned long get_tc_irq_nr(int);
39 * Return TURBOchannel clock frequency in hz
41 extern unsigned long get_tc_speed(void);
43 #endif