Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / drivers / scsi / ibmmca.h
blobd584cb160f1d22532eef52fd626406329fd35c25
1 /*
2 * Low Level Driver for the IBM Microchannel SCSI Subsystem
3 * (Headerfile, see README.ibmmca for description of the IBM MCA SCSI-driver
4 * For use under the GNU public license within the Linux-kernel project.
5 * This include file works only correctly with kernel 2.4.0 or higher!!! */
7 #ifndef _IBMMCA_H
8 #define _IBMMCA_H
10 /* Common forward declarations for all Linux-versions: */
12 /* Interfaces to the midlevel Linux SCSI driver */
13 externintibmmca_proc_info(char*,char**, off_t,int,int,int);
14 externintibmmca_detect(Scsi_Host_Template *);
15 externintibmmca_release(struct Scsi_Host *);
16 externintibmmca_command(Scsi_Cmnd *);
17 externintibmmca_queuecommand(Scsi_Cmnd *,void(*done) (Scsi_Cmnd *));
18 externintibmmca_abort(Scsi_Cmnd *);
19 externintibmmca_reset(Scsi_Cmnd *,unsigned int);
20 externintibmmca_biosparam(Disk *, kdev_t,int*);
22 /*structure for /proc filesystem */
23 externstruct proc_dir_entry proc_scsi_ibmmca;
26 * 2/8/98
27 * Note to maintainer of IBMMCA. Do not change this initializer back to
28 * the old format. Please ask eric@andante.jic.com if you have any questions
29 * about this, but it will break things in the future.
31 #define IBMMCA { \
32 proc_name:"ibmmca",/*proc_name*/ \
33 proc_info: ibmmca_proc_info,/*proc info fn*/ \
34 name:"IBM SCSI-Subsystem",/*name*/ \
35 detect: ibmmca_detect,/*detect fn*/ \
36 release: ibmmca_release,/*release fn*/ \
37 command: ibmmca_command,/*command fn*/ \
38 queuecommand: ibmmca_queuecommand,/*queuecommand fn*/ \
39 abort: ibmmca_abort,/*abort fn*/ \
40 reset: ibmmca_reset,/*reset fn*/ \
41 bios_param: ibmmca_biosparam,/*bios fn*/ \
42 can_queue: 16,/*can_queue*/ \
43 this_id: 7,/*set by detect*/ \
44 sg_tablesize: 16,/*sg_tablesize*/ \
45 cmd_per_lun: 1,/*cmd_per_lun*/ \
46 unchecked_isa_dma: 0,/*32-Bit Busmaster */ \
47 use_clustering: ENABLE_CLUSTERING/*use_clustering*/ \
50 #endif/* _IBMMCA_H */
close