Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
c0bc1133
Commit
c0bc1133
authored
Nov 19, 2005
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ide: remove dead DEBUG_TASKFILE code
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
071ffcc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
drivers/ide/ide-taskfile.c
drivers/ide/ide-taskfile.c
+0
-15
No files found.
drivers/ide/ide-taskfile.c
View file @
c0bc1133
...
...
@@ -51,8 +51,6 @@
#include <asm/uaccess.h>
#include <asm/io.h>
#define DEBUG_TASKFILE 0
/* unset when fixed */
static
void
ata_bswap_data
(
void
*
buffer
,
int
wcount
)
{
u16
*
p
=
buffer
;
...
...
@@ -765,9 +763,6 @@ ide_startstop_t flagged_taskfile (ide_drive_t *drive, ide_task_t *task)
ide_hwif_t
*
hwif
=
HWIF
(
drive
);
task_struct_t
*
taskfile
=
(
task_struct_t
*
)
task
->
tfRegister
;
hob_struct_t
*
hobfile
=
(
hob_struct_t
*
)
task
->
hobRegister
;
#if DEBUG_TASKFILE
u8
status
;
#endif
if
(
task
->
data_phase
==
TASKFILE_MULTI_IN
||
task
->
data_phase
==
TASKFILE_MULTI_OUT
)
{
...
...
@@ -803,16 +798,6 @@ ide_startstop_t flagged_taskfile (ide_drive_t *drive, ide_task_t *task)
hwif
->
OUTB
(
drive
->
ctl
,
IDE_CONTROL_REG
);
SELECT_MASK
(
drive
,
0
);
#if DEBUG_TASKFILE
status
=
hwif
->
INB
(
IDE_STATUS_REG
);
if
(
status
&
0x80
)
{
printk
(
"flagged_taskfile -> Bad status. Status = %02x. wait 100 usec ...
\n
"
,
status
);
udelay
(
100
);
status
=
hwif
->
INB
(
IDE_STATUS_REG
);
printk
(
"flagged_taskfile -> Status = %02x
\n
"
,
status
);
}
#endif
if
(
task
->
tf_out_flags
.
b
.
data
)
{
u16
data
=
taskfile
->
data
+
(
hobfile
->
data
<<
8
);
hwif
->
OUTW
(
data
,
IDE_DATA_REG
);
...
...
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