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
a068b2a8
Commit
a068b2a8
authored
Jun 23, 2003
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Jun 23, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] build fix for pdc4030 without taskfile IO
Noticed by Arkadiusz Miskiewicz.
parent
29e9689d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
drivers/ide/legacy/pdc4030.c
drivers/ide/legacy/pdc4030.c
+4
-3
No files found.
drivers/ide/legacy/pdc4030.c
View file @
a068b2a8
...
...
@@ -613,8 +613,6 @@ static void promise_multwrite (ide_drive_t *drive, unsigned int mcount)
*/
taskfile_output_data
(
drive
,
buffer
,
nsect
<<
7
);
}
while
(
mcount
);
return
0
;
}
#endif
...
...
@@ -624,7 +622,9 @@ static void promise_multwrite (ide_drive_t *drive, unsigned int mcount)
static
ide_startstop_t
promise_write_pollfunc
(
ide_drive_t
*
drive
)
{
ide_hwgroup_t
*
hwgroup
=
HWGROUP
(
drive
);
#ifdef CONFIG_IDE_TASKFILE_IO
struct
request
*
rq
=
hwgroup
->
rq
;
#endif
if
(
HWIF
(
drive
)
->
INB
(
IDE_NSECTOR_REG
)
!=
0
)
{
if
(
time_before
(
jiffies
,
hwgroup
->
poll_timeout
))
{
...
...
@@ -818,7 +818,8 @@ static ide_startstop_t promise_rw_disk (ide_drive_t *drive, struct request *rq,
Feature register.
FIXME: Is promise_selectproc now redundant??
*/
int
drive_number
=
(
HWIF
(
drive
)
->
channel
<<
1
)
+
drive
->
select
.
b
.
unit
;
ide_hwif_t
*
hwif
=
HWIF
(
drive
);
int
drive_number
=
(
hwif
->
channel
<<
1
)
+
drive
->
select
.
b
.
unit
;
#ifdef CONFIG_IDE_TASKFILE_IO
struct
hd_drive_task_hdr
taskfile
;
ide_task_t
args
;
...
...
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