blob: 9cb51f24d42c6673f04fa01cc8de40bdd8319ddf [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 */
Maciej W. Rozyckia5fc9c02005-07-01 16:10:40 +000010#ifndef __ASM_DEC_TC_H
11#define __ASM_DEC_TC_H
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13/*
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
17 * if none found.
18 */
19extern int search_tc_card(const char *);
20/*
21 * Marks the card in slot as used
22 */
23extern void claim_tc_card(int);
24/*
25 * Marks the card in slot as free
26 */
27extern void release_tc_card(int);
28/*
29 * Return base address of card in slot
30 */
31extern unsigned long get_tc_base_addr(int);
32/*
33 * Return interrupt number of slot
34 */
35extern unsigned long get_tc_irq_nr(int);
36/*
Maciej W. Rozyckia5fc9c02005-07-01 16:10:40 +000037 * Return TURBOchannel clock frequency in Hz
Linus Torvalds1da177e2005-04-16 15:20:36 -070038 */
39extern unsigned long get_tc_speed(void);
40
Maciej W. Rozyckia5fc9c02005-07-01 16:10:40 +000041#endif /* __ASM_DEC_TC_H */