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
8 * Copyright (c) 1998 Harald Koerfgen
10 #ifndef __ASM_DEC_TC_H
11 #define __ASM_DEC_TC_H
14 * Search for a TURBOchannel Option Module
15 * with a certain name. Returns slot number
16 * of the first card not in use or -ENODEV
19 extern int search_tc_card(const char *);
21 * Marks the card in slot as used
23 extern void claim_tc_card(int);
25 * Marks the card in slot as free
27 extern void release_tc_card(int);
29 * Return base address of card in slot
31 extern unsigned long get_tc_base_addr(int);
33 * Return interrupt number of slot
35 extern unsigned long get_tc_irq_nr(int);
37 * Return TURBOchannel clock frequency in Hz
39 extern unsigned long get_tc_speed(void);
41 #endif /* __ASM_DEC_TC_H */