File: iph5526_scsi.h

package info (click to toggle)
kernel-source-2.2.19 2.2.19.1-4woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 92,100 kB
  • ctags: 276,892
  • sloc: ansic: 1,710,384; asm: 58,709; makefile: 10,198; sh: 2,398; perl: 907; tcl: 570; lisp: 218; cpp: 186; awk: 133; sed: 72
file content (31 lines) | stat: -rw-r--r-- 1,436 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef IPH5526_SCSI_H
#define IPH5526_SCSI_H

#define IPH5526_CAN_QUEUE	32
#define IPH5526_SCSI_FC { 						 				\
        name:                   "Interphase 5526 Fibre Channel SCSI Adapter",   \
        detect:                 iph5526_detect,                  \
        release:                iph5526_release,                 \
        info:                   iph5526_info,                    \
        queuecommand:           iph5526_queuecommand,            \
		bios_param:				iph5526_biosparam,               \
        can_queue:              IPH5526_CAN_QUEUE,               \
        this_id:                -1,                              \
        sg_tablesize:           255,                             \
        cmd_per_lun:            8,                               \
        use_clustering:         DISABLE_CLUSTERING,              \
        eh_abort_handler:       iph5526_abort,                   \
        eh_device_reset_handler:NULL,                            \
        eh_bus_reset_handler:   NULL,                            \
        eh_host_reset_handler:  NULL,                            \
}

int iph5526_detect(Scsi_Host_Template *tmpt);
int iph5526_queuecommand(Scsi_Cmnd *Cmnd, void (*done) (Scsi_Cmnd *));
int iph5526_release(struct Scsi_Host *host);
int iph5526_abort(Scsi_Cmnd *Cmnd);
const char *iph5526_info(struct Scsi_Host *host);
int iph5526_biosparam(Disk * disk, kdev_t n, int ip[]);

#endif