ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / drivers / net / fc / iph5526_scsi.h
1 #ifndef IPH5526_SCSI_H
2 #define IPH5526_SCSI_H
3
4 #define IPH5526_CAN_QUEUE       32
5 #define IPH5526_SCSI_FC {                                                                               \
6         .name                   = "Interphase 5526 Fibre Channel SCSI Adapter",   \
7         .detect                 = iph5526_detect,                  \
8         .release                = iph5526_release,                 \
9         .info                   = iph5526_info,                    \
10         .queuecommand           = iph5526_queuecommand,            \
11         .bios_param             = iph5526_biosparam,               \
12         .can_queue              = IPH5526_CAN_QUEUE,               \
13         .this_id                = -1,                              \
14         .sg_tablesize           = 255,                             \
15         .cmd_per_lun            = 8,                               \
16         .use_clustering         = DISABLE_CLUSTERING,              \
17         .eh_abort_handler       = iph5526_abort,                   \
18         .eh_device_reset_handler = NULL,                            \
19         .eh_bus_reset_handler   = NULL,                            \
20         .eh_host_reset_handler  = NULL,                            \
21 }
22
23 int iph5526_detect(Scsi_Host_Template *tmpt);
24 int iph5526_queuecommand(Scsi_Cmnd *Cmnd, void (*done) (Scsi_Cmnd *));
25 int iph5526_release(struct Scsi_Host *host);
26 int iph5526_abort(Scsi_Cmnd *Cmnd);
27 const char *iph5526_info(struct Scsi_Host *host);
28 int iph5526_biosparam(struct Scsi_Disk * disk, struct block_device *n, int ip[]);
29
30 #endif
31