OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [scsi/] [qlogicfas.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _QLOGICFAS_H
2
#define _QLOGICFAS_H
3
 
4
int qlogicfas_detect(Scsi_Host_Template * );
5
int qlogicfas_release(struct Scsi_Host *);
6
const char * qlogicfas_info(struct Scsi_Host *);
7
int qlogicfas_command(Scsi_Cmnd *);
8
int qlogicfas_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
9
int qlogicfas_abort(Scsi_Cmnd *);
10
int qlogicfas_reset(Scsi_Cmnd *, unsigned int);
11
int qlogicfas_biosparam(Disk *, kdev_t, int[]);
12
 
13
#ifndef NULL
14
#define NULL (0)
15
#endif
16
 
17
#ifdef PCMCIA
18
#define __QLINIT __devinit
19
#else
20
#define __QLINIT __init
21
#endif
22
 
23
#define QLOGICFAS {             \
24
        detect:         qlogicfas_detect,       \
25
        release:        qlogicfas_release,      \
26
        info:           qlogicfas_info,         \
27
        command:        qlogicfas_command,      \
28
        queuecommand:   qlogicfas_queuecommand, \
29
        abort:          qlogicfas_abort,        \
30
        reset:          qlogicfas_reset,        \
31
        bios_param:     qlogicfas_biosparam,    \
32
        can_queue:      0,                       \
33
        this_id:        -1,                     \
34
        sg_tablesize:   SG_ALL,                 \
35
        cmd_per_lun:    1,                      \
36
        use_clustering: DISABLE_CLUSTERING      \
37
}
38
 
39
#endif /* _QLOGICFAS_H */
40
 
41
 
42
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.