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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef MVME147_H
2
 
3
/* $Id: mvme147.h,v 1.1.1.1 2004-04-15 02:14:44 phoenix Exp $
4
 *
5
 * Header file for the MVME147 built-in SCSI controller for Linux
6
 *
7
 * Written and (C) 1993, Hamish Macdonald, see mvme147.c for more info
8
 *
9
 */
10
 
11
#include <linux/types.h>
12
 
13
int mvme147_detect(Scsi_Host_Template *);
14
int mvme147_release(struct Scsi_Host *);
15
const char *wd33c93_info(void);
16
int wd33c93_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
17
int wd33c93_abort(Scsi_Cmnd *);
18
int wd33c93_reset(Scsi_Cmnd *, unsigned int);
19
 
20
#ifndef NULL
21
#define NULL 0
22
#endif
23
 
24
#ifndef CMD_PER_LUN
25
#define CMD_PER_LUN 2
26
#endif
27
 
28
#ifndef CAN_QUEUE
29
#define CAN_QUEUE 16
30
#endif
31
 
32
#ifdef HOSTS_C
33
 
34
#define MVME147_SCSI {proc_name:           "MVME147",                   \
35
                      proc_info:           NULL,                        \
36
                      name:                "MVME147 built-in SCSI",     \
37
                      detect:              mvme147_detect,              \
38
                      release:             mvme147_release,             \
39
                      queuecommand:        wd33c93_queuecommand,        \
40
                      abort:               wd33c93_abort,               \
41
                      reset:               wd33c93_reset,               \
42
                      can_queue:           CAN_QUEUE,                   \
43
                      this_id:             7,                           \
44
                      sg_tablesize:        SG_ALL,                      \
45
                      cmd_per_lun:         CMD_PER_LUN,                 \
46
                      use_clustering:      ENABLE_CLUSTERING }
47
 
48
#endif /* else def HOSTS_C */
49
 
50
#endif /* MVME147_H */

powered by: WebSVN 2.1.0

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