[PATCH] ide-taskfile.c fixups/cleanups [5/11]

From: Bartlomiej Zolnierkiewicz
Date: Sat Jun 19 2004 - 12:17:45 EST



[PATCH] ide: last IRQ fix for task_mulout_intr() (CONFIG_IDE_TASKFILE_IO=n)

We should wait for the last IRQ after all data is sent.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxxxxxxx>

linux-2.6.7-bzolnier/drivers/ide/ide-taskfile.c | 7 -------
1 files changed, 7 deletions(-)

diff -puN drivers/ide/ide-taskfile.c~ide_tf_pio_out_end_fix drivers/ide/ide-taskfile.c
--- linux-2.6.7/drivers/ide/ide-taskfile.c~ide_tf_pio_out_end_fix 2004-06-19 02:57:14.073574040 +0200
+++ linux-2.6.7-bzolnier/drivers/ide/ide-taskfile.c 2004-06-19 02:57:14.078573280 +0200
@@ -520,13 +520,6 @@ ide_startstop_t task_mulout_intr (ide_dr
msect -= nsect;
taskfile_output_data(drive, pBuf, nsect * SECTOR_WORDS);
rq->current_nr_sectors -= nsect;
-
- /* FIXME: check drive status */
- if (!rq->current_nr_sectors) {
- if (!DRIVER(drive)->end_request(drive, 1, 0))
- if (!rq->bio)
- return ide_stopped;
- }
} while (msect);
rq->errors = 0;
if (HWGROUP(drive)->handler == NULL)

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/