/[VMELinux]/driver/ca91c042.h
ViewVC logotype

Diff of /driver/ca91c042.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

*** ca91c042.h	2001/06/18 14:57:36	1.2
--- ca91c042.h	2001/10/24 17:29:01	1.3
***************
*** 1,18 ****
! //-----------------------------------------------------------------------------
! // Copyright 1999, Transmitter Location Systems, LLC.
! //-----------------------------------------------------------------------------
! // Project   : TLS-2000
! // Title     : 
! // Designer  : 
! // Platform  : 
! // Language  : 
! //
! //-----------------------------------------------------------------------------
! // Purpose   : 
! // Docs      : 
! //-----------------------------------------------------------------------------
  // RCS:
! // $Id: ca91c042.h,v 1.2 2001/06/18 14:57:36 astro Exp $
  //-----------------------------------------------------------------------------
  #ifndef _ca91c042_H
  #define _ca91c042_H
--- 1,29 ----
! //------------------------------------------------------------------------------  
! //title: Tundra Universe PCI-VME Kernel Driver
! //version: Linux 1.1
! //date: March 1999                                                                
! //designer: Michael Wyrick                                                      
! //programmer: Michael Wyrick                                                    
! //platform: Linux 2.4.x
! //language: GCC 2.95 and 3.0
! //module: ca91c042
! //------------------------------------------------------------------------------  
! //  Purpose: Provide a Kernel Driver to Linux for the Universe I and II 
! //           Universe model number ca91c042
! //  Docs:                                  
! //    This driver supports both the Universe and Universe II chips                                     
! //------------------------------------------------------------------------------  
  // RCS:
! // $Id: ca91c042.h,v 1.3 2001/10/24 17:29:01 jhuggins Exp $
! // $Log: ca91c042.h,v $
! // Revision 1.3  2001/10/24 17:29:01  jhuggins
! // This version works with 2.4.x kernels with backward compatibility with 2.2.x.  This will not work with 2.0.x kernels.
! // CV: ----------------------------------------------------------------------
! //
! // Revision 1.4  2001/10/16 15:16:53  wyrick
! // Minor Cleanup of Comments
! //
! //
  //-----------------------------------------------------------------------------
  #ifndef _ca91c042_H
  #define _ca91c042_H
***************
*** 43,49 ****
  // DMA Stuff
  void VME_DMA(void* pci, void* vme, unsigned int count, int ctl, TDMAcallback cback);
  void VME_DMA_LinkedList(void* CmdPacketList,TDMAcallback cback);
!   
  //-----------------------------------------------------------------------------
  // 
  //-----------------------------------------------------------------------------
--- 54,63 ----
  // DMA Stuff
  void VME_DMA(void* pci, void* vme, unsigned int count, int ctl, TDMAcallback cback);
  void VME_DMA_LinkedList(void* CmdPacketList,TDMAcallback cback);
! 
! // Misc
! int VME_Bus_Error(void);
! 
  //-----------------------------------------------------------------------------
  // 
  //-----------------------------------------------------------------------------
***************
*** 201,230 ****
  #define VCSR_BS		      0x0FFC
  
  
!   // DMA General Control/Status Register DGCS (0x220)
!   // 32-24 ||  GO   | STOPR | HALTR |   0   || CHAIN |   0   |   0   |   0   ||
!   // 23-16 ||              VON              ||             VOFF              ||
!   // 15-08 ||  ACT  | STOP  | HALT  |   0   || DONE  | LERR  | VERR  | P_ERR ||
!   // 07-00 ||   0   | INT_S | INT_H |   0   || I_DNE | I_LER | I_VER | I_PER ||
! 
!   // VON - Length Per DMA VMEBus Transfer
!   //  0000 = None
!   //  0001 = 256 Bytes
!   //  0010 = 512 
!   //  0011 = 1024
!   //  0100 = 2048
!   //  0101 = 4096
!   //  0110 = 8192
!   //  0111 = 16384
! 
!   // VOFF - wait between DMA tenures
!   //  0000 = 0    us
!   //  0001 = 16   
!   //  0010 = 32   
!   //  0011 = 64   
!   //  0100 = 128  
!   //  0101 = 256  
!   //  0110 = 512  
!   //  0111 = 1024 
  
  #endif
--- 215,244 ----
  #define VCSR_BS		      0x0FFC
  
  
! // DMA General Control/Status Register DGCS (0x220)
! // 32-24 ||  GO   | STOPR | HALTR |   0   || CHAIN |   0   |   0   |   0   ||
! // 23-16 ||              VON              ||             VOFF              ||
! // 15-08 ||  ACT  | STOP  | HALT  |   0   || DONE  | LERR  | VERR  | P_ERR ||
! // 07-00 ||   0   | INT_S | INT_H |   0   || I_DNE | I_LER | I_VER | I_PER ||
! 
! // VON - Length Per DMA VMEBus Transfer
! //  0000 = None
! //  0001 = 256 Bytes
! //  0010 = 512 
! //  0011 = 1024
! //  0100 = 2048
! //  0101 = 4096
! //  0110 = 8192
! //  0111 = 16384
! 
! // VOFF - wait between DMA tenures
! //  0000 = 0    us
! //  0001 = 16   
! //  0010 = 32   
! //  0011 = 64   
! //  0100 = 128  
! //  0101 = 256  
! //  0110 = 512  
! //  0111 = 1024 
  
  #endif

 

  ViewVC Help
Powered by ViewVC 1.2-dev