1 #ifndef _WD7000_H
2
3 /* $Id: $ 4 * 5 * Header file for the WD-7000 driver for Linux 6 * 7 * John Boyd <boyd@cis.ohio-state.edu> Jan 1994: 8 * This file has been reduced to only the definitions needed for the 9 * WD7000 host structure. 10 * 11 */ 12
13 #include <linux/types.h>
14
15 intwd7000_detect(Scsi_Host_Template *);
16 intwd7000_command(Scsi_Cmnd *);
17 intwd7000_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
18 intwd7000_abort(Scsi_Cmnd *);
19 constchar *wd7000_info(void);
20 intwd7000_reset(Scsi_Cmnd *);
21 intwd7000_biosparam(Disk *, int, int*);
22
23 #ifndefNULL 24 #defineNULL 0L
25 #endif 26
27 /* 28 * In this version, sg_tablesize now defaults to WD7000_SG, and will 29 * be set to SG_NONE for older boards. This is the reverse of the 30 * previous default, and was changed so that the driver-level 31 * Scsi_Host_Template would reflect the driver's support for scatter/ 32 * gather. 33 * 34 * Also, it has been reported that boards at Revision 6 support scatter/ 35 * gather, so the new definition of an "older" board has been changed 36 * accordingly. 37 */ 38 #defineWD7000_Q 16
39 #defineWD7000_SG 16
40
41 #defineWD7000{NULL, \
42 "Western Digital WD-7000", \
43 wd7000_detect, \
44 NULL, \
45 wd7000_info, \
46 wd7000_command, \
47 wd7000_queuecommand, \
48 wd7000_abort, \
49 wd7000_reset, \
50 NULL, \
51 wd7000_biosparam, \
52 WD7000_Q, 7, WD7000_SG, 1, 0, 1, ENABLE_CLUSTERING} 53 #endif