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
ee572516
Commit
ee572516
authored
Mar 14, 2004
by
Bartlomiej Zolnierkiewicz
Committed by
Jeff Garzik
Mar 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove ide_init_drive_taskfile()
From: Frederik Deweerdt <frederik.deweerdt@laposte.net>
parent
7f2b1116
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
drivers/ide/ide-taskfile.c
drivers/ide/ide-taskfile.c
+1
-12
include/linux/ide.h
include/linux/ide.h
+0
-1
No files found.
drivers/ide/ide-taskfile.c
View file @
ee572516
...
@@ -991,22 +991,11 @@ EXPORT_SYMBOL(pre_task_mulout_intr);
...
@@ -991,22 +991,11 @@ EXPORT_SYMBOL(pre_task_mulout_intr);
#endif
/* !CONFIG_IDE_TASKFILE_IO */
#endif
/* !CONFIG_IDE_TASKFILE_IO */
/*
* This function is intended to be used prior to invoking ide_do_drive_cmd().
*/
void
ide_init_drive_taskfile
(
struct
request
*
rq
)
{
memset
(
rq
,
0
,
sizeof
(
*
rq
));
rq
->
flags
=
REQ_DRIVE_TASKFILE
;
}
EXPORT_SYMBOL
(
ide_init_drive_taskfile
);
int
ide_diag_taskfile
(
ide_drive_t
*
drive
,
ide_task_t
*
args
,
unsigned
long
data_size
,
u8
*
buf
)
int
ide_diag_taskfile
(
ide_drive_t
*
drive
,
ide_task_t
*
args
,
unsigned
long
data_size
,
u8
*
buf
)
{
{
struct
request
rq
;
struct
request
rq
;
ide_init_drive_taskfile
(
&
rq
);
memset
(
&
rq
,
0
,
sizeof
(
rq
)
);
rq
.
flags
=
REQ_DRIVE_TASKFILE
;
rq
.
flags
=
REQ_DRIVE_TASKFILE
;
rq
.
buffer
=
buf
;
rq
.
buffer
=
buf
;
...
...
include/linux/ide.h
View file @
ee572516
...
@@ -1434,7 +1434,6 @@ extern ide_startstop_t pre_task_out_intr(ide_drive_t *, struct request *);
...
@@ -1434,7 +1434,6 @@ extern ide_startstop_t pre_task_out_intr(ide_drive_t *, struct request *);
extern
ide_startstop_t
task_out_intr
(
ide_drive_t
*
);
extern
ide_startstop_t
task_out_intr
(
ide_drive_t
*
);
extern
ide_startstop_t
pre_task_mulout_intr
(
ide_drive_t
*
,
struct
request
*
);
extern
ide_startstop_t
pre_task_mulout_intr
(
ide_drive_t
*
,
struct
request
*
);
extern
ide_startstop_t
task_mulout_intr
(
ide_drive_t
*
);
extern
ide_startstop_t
task_mulout_intr
(
ide_drive_t
*
);
extern
void
ide_init_drive_taskfile
(
struct
request
*
);
extern
int
ide_raw_taskfile
(
ide_drive_t
*
,
ide_task_t
*
,
u8
*
);
extern
int
ide_raw_taskfile
(
ide_drive_t
*
,
ide_task_t
*
,
u8
*
);
...
...
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