File: iph5526_scsi.h

package info (click to toggle)
kernel-source-2.4.14 2.4.14-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 139,160 kB
  • ctags: 428,423
  • sloc: ansic: 2,435,554; asm: 141,119; makefile: 8,258; sh: 3,099; perl: 2,561; yacc: 1,177; cpp: 755; tcl: 577; lex: 352; awk: 251; lisp: 218; 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