projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda5b35
)
ide: fix ->data_phase in taskfile_load_raw()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:37 +0000
(
00:32
+0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 19 Oct 2007 22:32:37 +0000
(
00:32
+0200)
It should be TASKFILE_NO_DATA, not TASKFILE_IN. Luckily ATM ->data_phase is
unused if ->command_type == IDE_DRIVE_TASK_NO_DATA but this may change in the
future.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-acpi.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-acpi.c
b/drivers/ide/ide-acpi.c
index 1d5f6823101c26c2e73980c6705878956e68be85..89df48fdc69d7b6109098153813524862fe4bff1 100644
(file)
--- a/
drivers/ide/ide-acpi.c
+++ b/
drivers/ide/ide-acpi.c
@@
-350,7
+350,7
@@
static int taskfile_load_raw(ide_drive_t *drive,
memset(&args, 0, sizeof(ide_task_t));
args.command_type = IDE_DRIVE_TASK_NO_DATA;
- args.data_phase = TASKFILE_
IN
;
+ args.data_phase = TASKFILE_
NO_DATA
;
args.handler = &task_no_data_intr;
/* convert gtf to IDE Taskfile */