Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a6866062
Commit
a6866062
authored
Oct 27, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] update qlogicfas driver
parent
dababb0d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
388 additions
and
273 deletions
+388
-273
drivers/scsi/qlogicfas.c
drivers/scsi/qlogicfas.c
+363
-242
drivers/scsi/qlogicfas.h
drivers/scsi/qlogicfas.h
+25
-31
No files found.
drivers/scsi/qlogicfas.c
View file @
a6866062
This diff is collapsed.
Click to expand it.
drivers/scsi/qlogicfas.h
View file @
a6866062
#ifndef _QLOGICFAS_H
#define _QLOGICFAS_H
int
qlogicfas_detect
(
Scsi_Host_Template
*
);
const
char
*
qlogicfas_info
(
struct
Scsi_Host
*
);
int
qlogicfas_command
(
Scsi_Cmnd
*
);
int
qlogicfas_queuecommand
(
Scsi_Cmnd
*
,
void
(
*
done
)(
Scsi_Cmnd
*
));
int
qlogicfas_abort
(
Scsi_Cmnd
*
);
int
qlogicfas_reset
(
Scsi_Cmnd
*
,
unsigned
int
);
int
qlogicfas_biosparam
(
Disk
*
,
struct
block_device
*
,
int
[]);
#ifndef NULL
#define NULL (0)
#endif
#ifdef PCMCIA
#define __QLINIT __devinit
#else
#define __QLINIT __init
#endif
#define QLOGICFAS { \
detect: qlogicfas_detect, \
info: qlogicfas_info, \
command: qlogicfas_command, \
queuecommand: qlogicfas_queuecommand, \
abort: qlogicfas_abort, \
reset: qlogicfas_reset, \
bios_param: qlogicfas_biosparam, \
can_queue: 0, \
this_id: -1, \
sg_tablesize: SG_ALL, \
cmd_per_lun: 1, \
use_clustering: DISABLE_CLUSTERING \
static
int
qlogicfas_detect
(
Scsi_Host_Template
*
);
static
const
char
*
qlogicfas_info
(
struct
Scsi_Host
*
);
static
int
qlogicfas_command
(
Scsi_Cmnd
*
);
static
int
qlogicfas_queuecommand
(
Scsi_Cmnd
*
,
void
(
*
done
)(
Scsi_Cmnd
*
));
static
int
qlogicfas_abort
(
Scsi_Cmnd
*
);
static
int
qlogicfas_bus_reset
(
Scsi_Cmnd
*
);
static
int
qlogicfas_device_reset
(
Scsi_Cmnd
*
);
static
int
qlogicfas_host_reset
(
Scsi_Cmnd
*
);
static
int
qlogicfas_biosparam
(
Disk
*
,
struct
block_device
*
,
int
[]);
#define QLOGICFAS { \
detect: qlogicfas_detect, \
info: qlogicfas_info, \
command: qlogicfas_command, \
queuecommand: qlogicfas_queuecommand, \
eh_abort_handler: qlogicfas_abort, \
eh_bus_reset_handler: qlogicfas_bus_reset, \
eh_device_reset_handler: qlogicfas_device_reset, \
eh_host_reset_handler: qlogicfas_host_reset, \
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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment