diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
commit | 78c388aed2b7184182c08428db1de6c872d815f5 (patch) | |
tree | 4b2003b1b4ceb241a17faa995da8dd1004bb8e45 /drivers/scsi/fd_mcs.h | |
parent | eb7a5bf93aaa4be1d7c6181100ab7639e74d67f7 (diff) |
Merge with Linux 2.1.131 and more MIPS goodies.
(Did I mention that CVS is buggy ...)
Diffstat (limited to 'drivers/scsi/fd_mcs.h')
-rw-r--r-- | drivers/scsi/fd_mcs.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/drivers/scsi/fd_mcs.h b/drivers/scsi/fd_mcs.h new file mode 100644 index 000000000..e96cc21cd --- /dev/null +++ b/drivers/scsi/fd_mcs.h @@ -0,0 +1,54 @@ +/* fd_mcs.h -- Header for Future Domain MCS 600/700 (or IBM OEM) driver + * + * fd_mcs.h v0.2 03/11/1998 ZP Gu (zpg@castle.net) + * + + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2, or (at your option) any + * later version. + + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 675 Mass Ave, Cambridge, MA 02139, USA. + + */ + +#ifndef _FD_MCS_H +#define _FD_MCS_H + +extern int fd_mcs_detect( Scsi_Host_Template * ); +extern int fd_mcs_release( struct Scsi_Host * ); +extern int fd_mcs_command( Scsi_Cmnd * ); +extern int fd_mcs_abort( Scsi_Cmnd * ); +extern int fd_mcs_reset( Scsi_Cmnd *, unsigned int ); +extern int fd_mcs_queue( Scsi_Cmnd *, void (*done)(Scsi_Cmnd *) ); +extern int fd_mcs_biosparam( Disk *, kdev_t, int * ); +extern int fd_mcs_proc_info( char *, char **, off_t, int, int, int ); +extern const char *fd_mcs_info(struct Scsi_Host *); + +extern struct proc_dir_entry proc_scsi_fd_mcs; + +#define FD_MCS {\ + proc_dir: &proc_scsi_fd_mcs, \ + proc_info: fd_mcs_proc_info, \ + detect: fd_mcs_detect, \ + release: fd_mcs_release, \ + info: fd_mcs_info, \ + command: fd_mcs_command, \ + queuecommand: fd_mcs_queue, \ + abort: fd_mcs_abort, \ + reset: fd_mcs_reset, \ + bios_param: fd_mcs_biosparam, \ + can_queue: 1, \ + this_id: 7, \ + sg_tablesize: 64, \ + cmd_per_lun: 1, \ + use_clustering: DISABLE_CLUSTERING } + +#endif /* _FD_MCS_H */ |