* better
[mascara-docs.git] / i386 / linux-2.3.21 / drivers / scsi / sgiwd93.h
blob868ee231445b79754ccdab9179f5fe686b60d20a
1 /* $Id: sgiwd93.h,v 1.2 1998/05/04 09:18:49 ralf Exp $
2 * sgiwd93.h: SGI WD93 scsi definitions.
4 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
5 */
6 #ifndef _SGIWD93_H
7 #define _SGIWD93_H
9 #ifndef NULL
10 #define NULL 0
11 #endif
13 #ifndef CMD_PER_LUN
14 #define CMD_PER_LUN 8
15 #endif
17 #ifndef CAN_QUEUE
18 #define CAN_QUEUE 16
19 #endif
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);
28 extern struct proc_dir_entry proc_scsi_sgiwd93;
30 #define SGIWD93_SCSI {proc_dir: &proc_scsi_sgiwd93, \
31 name: "SGI WD93", \
32 detect: sgiwd93_detect, \
33 release: sgiwd93_release, \
34 queuecommand: wd33c93_queuecommand, \
35 abort: wd33c93_abort, \
36 reset: wd33c93_reset, \
37 can_queue: CAN_QUEUE, \
38 this_id: 7, \
39 sg_tablesize: SG_ALL, \
40 cmd_per_lun: CMD_PER_LUN, \
41 use_clustering: DISABLE_CLUSTERING }
43 #endif /* !(_SGIWD93_H) */