3 /* $Id: atp870u.h,v 1.0 1997/05/07 15:09:00 root Exp root $
5 * Header file for the ACARD 870U/W driver for Linux
8 * Revision 1.0 1997/05/07 15:09:00 root
13 #include <linux/types.h>
14 #include <linux/kdev_t.h>
21 int atp870u_detect(Scsi_Host_Template
*);
22 int atp870u_command(Scsi_Cmnd
*);
23 int atp870u_queuecommand(Scsi_Cmnd
*, void (*done
)(Scsi_Cmnd
*));
24 int atp870u_abort(Scsi_Cmnd
*);
25 int atp870u_reset(Scsi_Cmnd
*, unsigned int);
26 int atp870u_biosparam(Disk
*, kdev_t
, int*);
27 void send_s870(unsigned char);
30 #define ATP870U_SCATTER 127
31 #define ATP870U_CMDLUN 1
37 extern struct proc_dir_entry proc_scsi_atp870u
;
39 extern const char *atp870u_info(struct Scsi_Host
*);
41 extern int atp870u_proc_info(char *, char **, off_t
, int, int, int);
46 proc_dir: &proc_scsi_atp870u, \
47 proc_info: atp870u_proc_info, \
49 detect: atp870u_detect, \
52 command: atp870u_command, \
53 queuecommand: atp870u_queuecommand, \
54 eh_strategy_handler: NULL, \
55 eh_abort_handler: NULL, \
56 eh_device_reset_handler: NULL, \
57 eh_bus_reset_handler: NULL, \
58 eh_host_reset_handler: NULL, \
59 abort: atp870u_abort, \
60 reset: atp870u_reset, \
62 bios_param: atp870u_biosparam, \
65 sg_tablesize: ATP870U_SCATTER, \
66 cmd_per_lun: ATP870U_CMDLUN, \
68 unchecked_isa_dma: 0, \
69 use_clustering: ENABLE_CLUSTERING, \