OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03644cd
)
ide: add missing HOB bit clearing to ide_dump_ata_status()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 13 Nov 2007 21:09:15 +0000
(22:09 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 13 Nov 2007 21:09:15 +0000
(22:09 +0100)
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-lib.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-lib.c
b/drivers/ide/ide-lib.c
index
af86433
..
1609b86
100644
(file)
--- a/
drivers/ide/ide-lib.c
+++ b/
drivers/ide/ide-lib.c
@@
-514,6
+514,7
@@
static u8 ide_dump_ata_status(ide_drive_t *drive, const char *msg, u8 stat)
if (drive->addressing == 1) {
__u64 sectors = 0;
u32 low = 0, high = 0;
+ hwif->OUTB(drive->ctl&~0x80, IDE_CONTROL_REG);
low = ide_read_24(drive);
hwif->OUTB(drive->ctl|0x80, IDE_CONTROL_REG);
high = ide_read_24(drive);