root/kernel/blk_drv/scsi/fdomain.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* fdomain.h -- Header for Future Domain TMC-1660/TMC-1680 driver
   2  * Created: Sun May  3 18:47:33 1992
   3  * Revised: Sat May 23 22:42:55 1992 by root
   4  * Author: Rickard E. Faith, faith@cs.unc.edu
   5  * Copyright 1992 Rickard E. Faith
   6  * This program comes with ABSOLUTELY NO WARRANTY.
   7  *
   8  * $Log$
   9  */
  10 
  11 #ifndef _FDOMAIN_H
  12 #define _FDOMAIN_H
  13 
  14 #define QUEUE         1         /* Enable command queueing */
  15 
  16 int  fdomain_16x0_detect( int );
  17 int  fdomain_16x0_command( unsigned char target, const void *cmnd,
  18                            void *buff, int bufflen);
  19 int  fdomain_16x0_abort( int );
  20 char *fdomain_16x0_info( void );
  21 int  fdomain_16x0_reset( void ); 
  22 
  23 #if QUEUE
  24 int  fdomain_16x0_queue( unsigned char target, const void *cmnd,
  25                          void *buff, int bufflen, void (*done)(int,int) );
  26 
  27 #define FDOMAIN_16X0  { "Future Domain TMC-1660/TMC-1680", \
  28                          fdomain_16x0_detect,              \
  29                          fdomain_16x0_info,                \
  30                          fdomain_16x0_command,             \
  31                          fdomain_16x0_queue,               \
  32                          fdomain_16x0_abort,               \
  33                          fdomain_16x0_reset,               \
  34                          1, 6, 0 }
  35 #else
  36 #define FDOMAIN_16X0  { "Future Domain TMC-1660/TMC-1680", \
  37                          fdomain_16x0_detect,              \
  38                          fdomain_16x0_info,                \
  39                          fdomain_16x0_command,             \
  40                          NULL,                             \
  41                          fdomain_16x0_abort,               \
  42                          fdomain_16x0_reset,               \
  43                          0, 6, 0 }
  44 #endif
  45 #endif

/* [previous][next][first][last][top][bottom][index][help] */