* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / drivers / scsi / dc390.h
blob719df770a06036c69a852cb43faa4ae6ea6f443c
1 /***********************************************************************
2 * FILE NAME : DC390.H *
3 * BY : C.L. Huang *
4 * Description: Device Driver for Tekram DC-390(T) PCI SCSI *
5 * Bus Master Host Adapter *
6 ***********************************************************************/
7 /* $Id: dc390.h,v 2.12 1998/12/25 17:33:27 garloff Exp $ */
9 #include <linux/version.h>
12 * DC390/AMD 53C974 driver, header file
15 #ifndef DC390_H
16 #define DC390_H
18 #define DC390_BANNER "Tekram DC390/AM53C974"
19 #define DC390_VERSION "2.0d 1998/12/25"
21 #if defined(HOSTS_C) || defined(MODULE)
23 #include <scsi/scsicam.h>
25 extern int DC390_detect(Scsi_Host_Template *psht);
26 extern int DC390_queue_command(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
27 extern int DC390_abort(Scsi_Cmnd *cmd);
28 extern int DC390_reset(Scsi_Cmnd *cmd, unsigned int resetFlags);
29 extern int DC390_bios_param(Disk *disk, kdev_t devno, int geom[]);
31 #ifdef MODULE
32 static int DC390_release(struct Scsi_Host *);
33 #else
34 # define DC390_release NULL
35 #endif
37 extern struct proc_dir_entry DC390_proc_scsi_tmscsim;
38 extern int DC390_proc_info(char *buffer, char **start, off_t offset, int length, int hostno, int inout);
40 #define DC390_T { \
41 proc_dir: &DC390_proc_scsi_tmscsim, \
42 proc_info: DC390_proc_info, \
43 name: DC390_BANNER " V" DC390_VERSION, \
44 detect: DC390_detect, \
45 release: DC390_release, \
46 queuecommand: DC390_queue_command, \
47 abort: DC390_abort, \
48 reset: DC390_reset, \
49 bios_param: DC390_bios_param, \
50 can_queue: 17, \
51 this_id: 7, \
52 sg_tablesize: SG_ALL, \
53 cmd_per_lun: 8, \
54 use_clustering: DISABLE_CLUSTERING \
57 #endif /* defined(HOSTS_C) || defined(MODULE) */
59 #endif /* DC390_H */