mirror of https://gitee.com/openkylin/linux.git
ide: add missing HOB bit clearing to ide_dump_ata_status()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
03644cd497
commit
12eda14f89
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue