OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips/] [dec/] [tc.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
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

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.