1 #ifndef _WD7000_H
2
3
4
5
6
7
8
9
10
11
12
13 #include <linux/types.h>
14 #include <linux/kdev_t.h>
15
16 int wd7000_detect(Scsi_Host_Template *);
17 int wd7000_command(Scsi_Cmnd *);
18 int wd7000_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
19 int wd7000_abort(Scsi_Cmnd *);
20 int wd7000_reset(Scsi_Cmnd *);
21 int wd7000_biosparam(Disk *, kdev_t, int *);
22
23 #ifndef NULL
24 #define NULL 0L
25 #endif
26
27
28
29
30
31
32
33
34
35
36
37
38 #define WD7000_Q 16
39 #define WD7000_SG 16
40
41 #define WD7000 { NULL, NULL, \
42 NULL, \
43 NULL, \
44 "Western Digital WD-7000", \
45 wd7000_detect, \
46 NULL, \
47 NULL, \
48 wd7000_command, \
49 wd7000_queuecommand, \
50 wd7000_abort, \
51 wd7000_reset, \
52 NULL, \
53 wd7000_biosparam, \
54 WD7000_Q, 7, WD7000_SG, 1, 0, 1, ENABLE_CLUSTERING}
55 #endif