home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-mips / dec / tc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  960 b   |  42 lines

  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_DEC_TC_H
  11. #define __ASM_DEC_TC_H
  12.  
  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.  */
  19. extern int search_tc_card(const char *);
  20. /*
  21.  * Marks the card in slot as used
  22.  */
  23. extern void claim_tc_card(int);
  24. /*
  25.  * Marks the card in slot as free
  26.  */
  27. extern void release_tc_card(int);
  28. /*
  29.  * Return base address of card in slot
  30.  */
  31. extern unsigned long get_tc_base_addr(int);
  32. /*
  33.  * Return interrupt number of slot
  34.  */
  35. extern unsigned long get_tc_irq_nr(int);
  36. /*
  37.  * Return TURBOchannel clock frequency in Hz
  38.  */
  39. extern unsigned long get_tc_speed(void);
  40.  
  41. #endif /* __ASM_DEC_TC_H */
  42.