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
521d85de
Commit
521d85de
authored
Feb 29, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://gkernel.bkbits.net/libata-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux
parents
5f7e3b2f
a7548431
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
1 deletion
+10
-1
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+8
-0
drivers/scsi/scsi.c
drivers/scsi/scsi.c
+1
-0
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_priv.h
+0
-1
include/scsi/scsi_cmnd.h
include/scsi/scsi_cmnd.h
+1
-0
No files found.
drivers/scsi/libata-core.c
View file @
521d85de
...
...
@@ -2005,6 +2005,14 @@ void ata_eng_timeout(struct ata_port *ap)
goto
out
;
}
/* hack alert! We cannot use the supplied completion
* function from inside the ->eh_strategy_handler() thread.
* libata is the only user of ->eh_strategy_handler() in
* any kernel, so the default scsi_done() assumes it is
* not being called from the SCSI EH.
*/
qc
->
scsidone
=
scsi_finish_command
;
switch
(
qc
->
tf
.
protocol
)
{
case
ATA_PROT_DMA_READ
:
case
ATA_PROT_DMA_WRITE
:
...
...
drivers/scsi/scsi.c
View file @
521d85de
...
...
@@ -847,6 +847,7 @@ void scsi_finish_command(struct scsi_cmnd *cmd)
cmd
->
done
(
cmd
);
}
EXPORT_SYMBOL
(
scsi_finish_command
);
/*
* Function: scsi_adjust_queue_depth()
...
...
drivers/scsi/scsi_priv.h
View file @
521d85de
...
...
@@ -77,7 +77,6 @@ extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd);
extern
int
scsi_setup_command_freelist
(
struct
Scsi_Host
*
shost
);
extern
void
scsi_destroy_command_freelist
(
struct
Scsi_Host
*
shost
);
extern
void
scsi_done
(
struct
scsi_cmnd
*
cmd
);
extern
void
scsi_finish_command
(
struct
scsi_cmnd
*
cmd
);
extern
int
scsi_retry_command
(
struct
scsi_cmnd
*
cmd
);
extern
int
scsi_insert_special_req
(
struct
scsi_request
*
sreq
,
int
);
extern
void
scsi_init_cmd_from_req
(
struct
scsi_cmnd
*
cmd
,
...
...
include/scsi/scsi_cmnd.h
View file @
521d85de
...
...
@@ -159,5 +159,6 @@ struct scsi_cmnd {
extern
struct
scsi_cmnd
*
scsi_get_command
(
struct
scsi_device
*
,
int
);
extern
void
scsi_put_command
(
struct
scsi_cmnd
*
);
extern
void
scsi_io_completion
(
struct
scsi_cmnd
*
,
unsigned
int
,
unsigned
int
);
extern
void
scsi_finish_command
(
struct
scsi_cmnd
*
cmd
);
#endif
/* _SCSI_SCSI_CMND_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