fdomain.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /* fdomain.h -- Header for Future Domain TMC-16x0 driver
  2.  * Created: Sun May  3 18:47:33 1992 by faith@cs.unc.edu
  3.  * Revised: Thu Oct 12 13:21:35 1995 by faith@acm.org
  4.  * Author: Rickard E. Faith, faith@cs.unc.edu
  5.  * Copyright 1992, 1993, 1994, 1995 Rickard E. Faith
  6.  *
  7.  * $Id: fdomain.h,v 5.12 1995/10/12 19:01:09 root Exp $
  8.  * This program is free software; you can redistribute it and/or modify it
  9.  * under the terms of the GNU General Public License as published by the
  10.  * Free Software Foundation; either version 2, or (at your option) any
  11.  * later version.
  12.  * This program is distributed in the hope that it will be useful, but
  13.  * WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15.  * General Public License for more details.
  16.  * You should have received a copy of the GNU General Public License along
  17.  * with this program; if not, write to the Free Software Foundation, Inc.,
  18.  * 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  */
  20. #ifndef _FDOMAIN_H
  21. #define _FDOMAIN_H
  22. int        fdomain_16x0_detect( Scsi_Host_Template * );
  23. int        fdomain_16x0_command( Scsi_Cmnd * );
  24. int        fdomain_16x0_abort( Scsi_Cmnd * );
  25. const char *fdomain_16x0_info( struct Scsi_Host * );
  26. int        fdomain_16x0_reset( Scsi_Cmnd *, unsigned int ); 
  27. int        fdomain_16x0_queue( Scsi_Cmnd *, void (*done)(Scsi_Cmnd *) );
  28. int        fdomain_16x0_biosparam( Disk *, kdev_t, int * );
  29. int        fdomain_16x0_proc_info( char *buffer, char **start, off_t offset,
  30.    int length, int hostno, int inout );
  31. int        fdomain_16x0_release( struct Scsi_Host *shpnt );
  32. #define FDOMAIN_16X0 { proc_info:      fdomain_16x0_proc_info,           
  33.        detect:         fdomain_16x0_detect,              
  34.        info:           fdomain_16x0_info,                
  35.        command:        fdomain_16x0_command,             
  36.        queuecommand:   fdomain_16x0_queue,               
  37.        abort:          fdomain_16x0_abort,               
  38.        reset:          fdomain_16x0_reset,               
  39.        bios_param:     fdomain_16x0_biosparam,           
  40.        release:        fdomain_16x0_release,  
  41.        can_queue:      1,   
  42.        this_id:        6,   
  43.        sg_tablesize:   64,   
  44.        cmd_per_lun:    1,   
  45.        use_clustering: DISABLE_CLUSTERING }
  46. #endif