update atp870u driver to 0.78 from D-Link source
[linux-2.4.git] / drivers / scsi / sgiwd93.h
1 /* $Id: sgiwd93.h,v 1.5 1998/08/25 09:18:50 ralf Exp $
2  * sgiwd93.h: SGI WD93 scsi definitions.
3  *
4  * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
5  */
6 #ifndef _SGIWD93_H
7 #define _SGIWD93_H
8
9 #ifndef NULL
10 #define NULL        0
11 #endif
12
13 #ifndef CMD_PER_LUN
14 #define CMD_PER_LUN 8
15 #endif
16
17 #ifndef CAN_QUEUE
18 #define CAN_QUEUE   16
19 #endif
20
21 int sgiwd93_detect(Scsi_Host_Template *);
22 int sgiwd93_release(struct Scsi_Host *instance);
23 const char *wd33c93_info(void);
24 int wd33c93_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
25 int wd33c93_abort(Scsi_Cmnd *);
26 int wd33c93_reset(Scsi_Cmnd *, unsigned int);
27
28 #define SGIWD93_SCSI {proc_name:           "SGIWD93", \
29                       name:                "SGI WD93", \
30                       detect:              sgiwd93_detect,    \
31                       release:             sgiwd93_release,   \
32                       queuecommand:        wd33c93_queuecommand, \
33                       abort:               wd33c93_abort,   \
34                       reset:               wd33c93_reset,   \
35                       can_queue:           CAN_QUEUE,       \
36                       this_id:             7,               \
37                       sg_tablesize:        SG_ALL,          \
38                       cmd_per_lun:         CMD_PER_LUN,     \
39                       use_clustering:      DISABLE_CLUSTERING }
40
41 #endif /* !(_SGIWD93_H) */