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 int atp870u_release(struct Scsi_Host
*);
28 void send_s870(unsigned char);
31 #define ATP870U_SCATTER 128
32 #define ATP870U_CMDLUN 1
38 extern const char *atp870u_info(struct Scsi_Host
*);
40 extern int atp870u_proc_info(char *, char **, off_t
, int, int, int);
45 proc_info: atp870u_proc_info, \
47 detect: atp870u_detect, \
48 release: atp870u_release, \
50 command: atp870u_command, \
51 queuecommand: atp870u_queuecommand, \
52 eh_strategy_handler: NULL, \
53 eh_abort_handler: NULL, \
54 eh_device_reset_handler: NULL, \
55 eh_bus_reset_handler: NULL, \
56 eh_host_reset_handler: NULL, \
57 abort: atp870u_abort, \
58 reset: atp870u_reset, \
60 bios_param: atp870u_biosparam, \
61 can_queue: qcnt, /* max simultaneous cmds */\
62 this_id: 7, /* scsi id of host adapter */\
63 sg_tablesize: ATP870U_SCATTER, /* max scatter-gather cmds */\
64 cmd_per_lun: ATP870U_CMDLUN, /* cmds per lun (linked cmds) */\
65 present: 0, /* number of 7xxx's present */\
66 unchecked_isa_dma: 0, /* no memory DMA restrictions */\
67 use_clustering: ENABLE_CLUSTERING, \