- pre4:
[davej-history.git] / drivers / scsi / fd_mcs.h
blob1841d5c28661d9bd94dbaf9df019287d3f824054
1 /* fd_mcs.h -- Header for Future Domain MCS 600/700 (or IBM OEM) driver
2 *
3 * fd_mcs.h v0.2 03/11/1998 ZP Gu (zpg@castle.net)
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * 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.
22 #ifndef _FD_MCS_H
23 #define _FD_MCS_H
25 extern int fd_mcs_detect( Scsi_Host_Template * );
26 extern int fd_mcs_release( struct Scsi_Host * );
27 extern int fd_mcs_command( Scsi_Cmnd * );
28 extern int fd_mcs_abort( Scsi_Cmnd * );
29 extern int fd_mcs_reset( Scsi_Cmnd *, unsigned int );
30 extern int fd_mcs_queue( Scsi_Cmnd *, void (*done)(Scsi_Cmnd *) );
31 extern int fd_mcs_biosparam( Disk *, kdev_t, int * );
32 extern int fd_mcs_proc_info( char *, char **, off_t, int, int, int );
33 extern const char *fd_mcs_info(struct Scsi_Host *);
35 #define FD_MCS {\
36 proc_name: "fd_mcs", \
37 proc_info: fd_mcs_proc_info, \
38 detect: fd_mcs_detect, \
39 release: fd_mcs_release, \
40 info: fd_mcs_info, \
41 command: fd_mcs_command, \
42 queuecommand: fd_mcs_queue, \
43 abort: fd_mcs_abort, \
44 reset: fd_mcs_reset, \
45 bios_param: fd_mcs_biosparam, \
46 can_queue: 1, \
47 this_id: 7, \
48 sg_tablesize: 64, \
49 cmd_per_lun: 1, \
50 use_clustering: DISABLE_CLUSTERING }
52 #endif /* _FD_MCS_H */