Commit a6866062 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] update qlogicfas driver

parent dababb0d
This diff is collapsed.
#ifndef _QLOGICFAS_H #ifndef _QLOGICFAS_H
#define _QLOGICFAS_H #define _QLOGICFAS_H
int qlogicfas_detect(Scsi_Host_Template * ); static int qlogicfas_detect(Scsi_Host_Template * );
const char * qlogicfas_info(struct Scsi_Host *); static const char * qlogicfas_info(struct Scsi_Host *);
int qlogicfas_command(Scsi_Cmnd *); static int qlogicfas_command(Scsi_Cmnd *);
int qlogicfas_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *)); static int qlogicfas_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
int qlogicfas_abort(Scsi_Cmnd *); static int qlogicfas_abort(Scsi_Cmnd *);
int qlogicfas_reset(Scsi_Cmnd *, unsigned int); static int qlogicfas_bus_reset(Scsi_Cmnd *);
int qlogicfas_biosparam(Disk *, struct block_device *, int[]); static int qlogicfas_device_reset(Scsi_Cmnd *);
static int qlogicfas_host_reset(Scsi_Cmnd *);
#ifndef NULL static int qlogicfas_biosparam(Disk *, struct block_device *, int[]);
#define NULL (0)
#endif #define QLOGICFAS { \
detect: qlogicfas_detect, \
#ifdef PCMCIA info: qlogicfas_info, \
#define __QLINIT __devinit command: qlogicfas_command, \
#else queuecommand: qlogicfas_queuecommand, \
#define __QLINIT __init eh_abort_handler: qlogicfas_abort, \
#endif eh_bus_reset_handler: qlogicfas_bus_reset, \
eh_device_reset_handler: qlogicfas_device_reset, \
#define QLOGICFAS { \ eh_host_reset_handler: qlogicfas_host_reset, \
detect: qlogicfas_detect, \ bios_param: qlogicfas_biosparam, \
info: qlogicfas_info, \ can_queue: 0, \
command: qlogicfas_command, \ this_id: -1, \
queuecommand: qlogicfas_queuecommand, \ sg_tablesize: SG_ALL, \
abort: qlogicfas_abort, \ cmd_per_lun: 1, \
reset: qlogicfas_reset, \ use_clustering: DISABLE_CLUSTERING \
bios_param: qlogicfas_biosparam, \
can_queue: 0, \
this_id: -1, \
sg_tablesize: SG_ALL, \
cmd_per_lun: 1, \
use_clustering: DISABLE_CLUSTERING \
} }
#endif /* _QLOGICFAS_H */ #endif /* _QLOGICFAS_H */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment