mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ide: kill DATA_READY define
Acked-by: Sergei Shtylyov <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
4d7a984bdc
commit
4906f3b4cd
2 changed files with 2 additions and 3 deletions
|
|
@ -436,7 +436,7 @@ static ide_startstop_t task_in_intr(ide_drive_t *drive)
|
|||
u8 stat = hwif->INB(IDE_STATUS_REG);
|
||||
|
||||
/* new way for dealing with premature shared PCI interrupts */
|
||||
if (!OK_STAT(stat, DATA_READY, BAD_R_STAT)) {
|
||||
if (!OK_STAT(stat, DRQ_STAT, BAD_R_STAT)) {
|
||||
if (stat & (ERR_STAT | DRQ_STAT))
|
||||
return task_error(drive, rq, __FUNCTION__, stat);
|
||||
/* No data yet, so wait for another IRQ. */
|
||||
|
|
@ -493,7 +493,7 @@ static ide_startstop_t pre_task_out_intr(ide_drive_t *drive, struct request *rq)
|
|||
{
|
||||
ide_startstop_t startstop;
|
||||
|
||||
if (ide_wait_stat(&startstop, drive, DATA_READY,
|
||||
if (ide_wait_stat(&startstop, drive, DRQ_STAT,
|
||||
drive->bad_wstat, WAIT_DRQ)) {
|
||||
printk(KERN_ERR "%s: no DRQ after issuing %sWRITE%s\n",
|
||||
drive->name,
|
||||
|
|
|
|||
Loading…
Reference in a new issue