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
75a97cd1
Commit
75a97cd1
authored
Oct 12, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2o-scsi next installment
parent
0b71bb7f
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
202 additions
and
59 deletions
+202
-59
drivers/message/i2o/i2o_scsi.c
drivers/message/i2o/i2o_scsi.c
+179
-34
drivers/message/i2o/i2o_scsi.h
drivers/message/i2o/i2o_scsi.h
+23
-25
No files found.
drivers/message/i2o/i2o_scsi.c
View file @
75a97cd1
This diff is collapsed.
Click to expand it.
drivers/message/i2o/i2o_scsi.h
View file @
75a97cd1
#ifndef _I2O_SCSI_H
#define _I2O_SCSI_H
#if !defined(LINUX_VERSION_CODE)
#include <linux/version.h>
#endif
#define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
#include <linux/types.h>
#include <linux/kdev_t.h>
...
...
@@ -19,7 +13,9 @@ static const char *i2o_scsi_info(struct Scsi_Host *);
static
int
i2o_scsi_command
(
Scsi_Cmnd
*
);
static
int
i2o_scsi_queuecommand
(
Scsi_Cmnd
*
,
void
(
*
done
)(
Scsi_Cmnd
*
));
static
int
i2o_scsi_abort
(
Scsi_Cmnd
*
);
static
int
i2o_scsi_reset
(
Scsi_Cmnd
*
,
unsigned
int
);
static
int
i2o_scsi_bus_reset
(
Scsi_Cmnd
*
);
static
int
i2o_scsi_host_reset
(
Scsi_Cmnd
*
);
static
int
i2o_scsi_device_reset
(
Scsi_Cmnd
*
);
static
int
i2o_scsi_bios_param
(
Disk
*
,
struct
block_device
*
,
int
*
);
static
int
i2o_scsi_release
(
struct
Scsi_Host
*
host
);
...
...
@@ -32,8 +28,10 @@ static int i2o_scsi_release(struct Scsi_Host *host);
info: i2o_scsi_info, \
command: i2o_scsi_command, \
queuecommand: i2o_scsi_queuecommand, \
abort: i2o_scsi_abort, \
reset: i2o_scsi_reset, \
eh_abort_handler: i2o_scsi_abort, \
eh_bus_reset_handler: i2o_scsi_bus_reset, \
eh_device_reset_handler: i2o_scsi_device_reset, \
eh_host_reset_handler: i2o_scsi_host_reset, \
bios_param: i2o_scsi_bios_param, \
can_queue: I2O_SCSI_CAN_QUEUE, \
this_id: I2O_SCSI_ID, \
...
...
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