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 / tcinfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  853 b   |  48 lines

  1. /*
  2.  * Various TURBOchannel related stuff
  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.  * Information obtained through the get_tcinfo prom call
  9.  * created from:
  10.  *
  11.  * TURBOchannel Firmware Specification
  12.  *
  13.  * EK-TCAAD-FS-004
  14.  * from Digital Equipment Corporation
  15.  *
  16.  * Copyright (c) 1998 Harald Koerfgen
  17.  */
  18.  
  19. typedef struct {
  20.     int revision;
  21.     int clk_period;
  22.     int slot_size;
  23.     int io_timeout;
  24.     int dma_range;
  25.     int max_dma_burst;
  26.     int parity;
  27.     int reserved[4];
  28. } tcinfo;
  29.  
  30. #define MAX_SLOT 7
  31.  
  32. typedef struct {
  33.     unsigned long base_addr;
  34.     unsigned char name[9];
  35.     unsigned char vendor[9];
  36.     unsigned char firmware[9];
  37.     int interrupt;
  38.     int flags;
  39. } slot_info;
  40.  
  41. /*
  42.  * Values for flags
  43.  */
  44. #define FREE     1<<0
  45. #define IN_USE    1<<1
  46.  
  47.  
  48.