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
Kirill Smelkov
linux
Commits
9da07cd3
Commit
9da07cd3
authored
Nov 04, 2002
by
Alan Cox
Committed by
Dave Jones
Nov 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] first pass over ultrastor.c (still used for u24f)
parent
4847fb27
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
88 deletions
+80
-88
drivers/scsi/ultrastor.c
drivers/scsi/ultrastor.c
+72
-79
drivers/scsi/ultrastor.h
drivers/scsi/ultrastor.h
+8
-9
No files found.
drivers/scsi/ultrastor.c
View file @
9da07cd3
This diff is collapsed.
Click to expand it.
drivers/scsi/ultrastor.h
View file @
9da07cd3
...
...
@@ -13,13 +13,12 @@
#ifndef _ULTRASTOR_H
#define _ULTRASTOR_H
int
ultrastor_detect
(
Scsi_Host_Template
*
);
const
char
*
ultrastor_info
(
struct
Scsi_Host
*
shpnt
);
int
ultrastor_queuecommand
(
Scsi_Cmnd
*
,
void
(
*
done
)(
Scsi_Cmnd
*
));
int
ultrastor_abort
(
Scsi_Cmnd
*
);
int
ultrastor_reset
(
Scsi_Cmnd
*
,
unsigned
int
);
int
ultrastor_biosparam
(
struct
scsi_device
*
,
struct
block_device
*
,
sector_t
,
int
*
);
static
int
ultrastor_detect
(
Scsi_Host_Template
*
);
static
const
char
*
ultrastor_info
(
struct
Scsi_Host
*
shpnt
);
static
int
ultrastor_queuecommand
(
Scsi_Cmnd
*
,
void
(
*
done
)(
Scsi_Cmnd
*
));
static
int
ultrastor_abort
(
Scsi_Cmnd
*
);
static
int
ultrastor_host_reset
(
Scsi_Cmnd
*
);
static
int
ultrastor_biosparam
(
struct
scsi_device
*
,
struct
block_device
*
,
sector_t
,
int
*
);
#define ULTRASTOR_14F_MAX_SG 16
...
...
@@ -35,8 +34,8 @@ int ultrastor_biosparam(struct scsi_device *, struct block_device *,
detect: ultrastor_detect, \
info: ultrastor_info, \
queuecommand: ultrastor_queuecommand, \
abort:
ultrastor_abort, \
reset: ultrastor_reset,
\
eh_abort_handler:
ultrastor_abort, \
eh_host_reset_handler: ultrastor_host_reset,
\
bios_param: ultrastor_biosparam, \
can_queue: ULTRASTOR_MAX_CMDS, \
this_id: 0, \
...
...
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