OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [scsi/] [fd_mcs.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/* 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)
4
 *
5
 
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.
10
 
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.
15
 
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
 */
21
 
22
#ifndef _FD_MCS_H
23
#define _FD_MCS_H
24
 
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 *);
34
 
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 }
51
 
52
#endif /* _FD_MCS_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.