mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
ide-pmac: remove nIEN clearing from pmac_ide_do_setfeature()
Upper layers are responsible for controlling nIEN so don't clear nIEN after command execution in pmac_ide_do_setfeature(). Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
ddf151026a
commit
3b2d0093b8
@ -556,7 +556,6 @@ pmac_ide_do_setfeature(ide_drive_t *drive, u8 command)
|
||||
result = __ide_wait_stat(drive, drive->ready_stat,
|
||||
BUSY_STAT|DRQ_STAT|ERR_STAT,
|
||||
WAIT_CMD, &stat);
|
||||
hwif->OUTB(drive->ctl, IDE_CONTROL_REG);
|
||||
if (result)
|
||||
printk(KERN_ERR "%s: pmac_ide_do_setfeature disk not ready "
|
||||
"after SET_FEATURE !\n", drive->name);
|
||||
|
Loading…
Reference in New Issue
Block a user