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: Sat Mar 19 16:07:14 1994 by faith@cs.unc.edu 4 * Author: Rickard E. Faith, faith@cs.unc.edu 5 * Copyright 1992, 1993, 1994 Rickard E. Faith 6 * 7 * $Id: fdomain.h,v 5.5 1994/03/19 21:07:38 root Exp $ 8 9 * This program is free software; you can redistribute it and/or modify it 10 * under the terms of the GNU General Public License as published by the 11 * Free Software Foundation; either version 2, or (at your option) any 12 * later version. 13 14 * This program is distributed in the hope that it will be useful, but 15 * WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * General Public License for more details. 18 19 * You should have received a copy of the GNU General Public License along 20 * with this program; if not, write to the Free Software Foundation, Inc., 21 * 675 Mass Ave, Cambridge, MA 02139, USA. 22 23 */ 24 25 #ifndef _FDOMAIN_H 26 #define _FDOMAIN_H 27 28 int fdomain_16x0_detect( int ); 29 int fdomain_16x0_command( Scsi_Cmnd * ); 30 int fdomain_16x0_abort( Scsi_Cmnd *, int ); 31 const char *fdomain_16x0_info( void ); 32 int fdomain_16x0_reset( Scsi_Cmnd * ); 33 int fdomain_16x0_queue( Scsi_Cmnd *, void (*done)(Scsi_Cmnd *) ); 34 35 #ifdef CONFIG_BLK_DEV_SD 36 int fdomain_16x0_biosparam( int, int, int * ); 37 #else 38 #define fdomain_16x0_biosparam NULL 39 #endif 40 41 #define FDOMAIN_16X0 { "Future Domain TMC-16x0", \ 42 fdomain_16x0_detect, \ 43 fdomain_16x0_info, \ 44 fdomain_16x0_command, \ 45 fdomain_16x0_queue, \ 46 fdomain_16x0_abort, \ 47 fdomain_16x0_reset, \ 48 NULL, \ 49 fdomain_16x0_biosparam, \ 50 1, 6, 64 /* SG_NONE */, 1 ,0, 0 } 51 #endif