kernel-ark/drivers/ide
Kiyoshi Ueda aaa04c28cb blk_end_request: changing ide-cd (take 4)
This patch converts ide-cd (cdrom_newpc_intr()) to use blk_end_request
interfaces.  Related 'uptodate' arguments are converted to 'error'.

In PIO mode, ide-cd (cdrom_newpc_intr()) needs to defer
end_that_request_last() until the device clears DRQ_STAT and raises
an interrupt after end_that_request_first().
So blk_end_request() has to return without completing request
even if no leftover in the request.

ide-cd uses blk_end_request_callback() and a dummy callback function,
which just returns value '1', to tell blk_end_request_callback()
about that.

Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-01-28 10:37:06 +01:00
..
arm
cris
h8300
legacy
mips
pci
ppc
ide-acpi.c
ide-cd.c blk_end_request: changing ide-cd (take 4) 2008-01-28 10:37:06 +01:00
ide-cd.h
ide-disk.c ide: convert "empty" REQ_TYPE_ATA_CMD requests to use REQ_TYPE_ATA_TASKFILE 2008-01-26 20:13:12 +01:00
ide-dma.c
ide-floppy.c
ide-generic.c
ide-io.c blk_end_request: changing ide normal caller (take 4) 2008-01-28 10:37:02 +01:00
ide-iops.c ide: switch ide_cmd_ioctl() to use REQ_TYPE_ATA_TASKFILE requests 2008-01-26 20:13:13 +01:00
ide-lib.c ide: remove REQ_TYPE_ATA_CMD 2008-01-26 20:13:13 +01:00
ide-pnp.c
ide-probe.c
ide-proc.c ide: switch set_xfer_rate() to use REQ_TYPE_ATA_TASKFILE requests 2008-01-26 20:13:12 +01:00
ide-scan-pci.c
ide-tape.c
ide-taskfile.c ide: switch ide_cmd_ioctl() to use REQ_TYPE_ATA_TASKFILE requests 2008-01-26 20:13:13 +01:00
ide-timing.h
ide.c ide: convert "empty" REQ_TYPE_ATA_CMD requests to use REQ_TYPE_ATA_TASKFILE 2008-01-26 20:13:12 +01:00
Kconfig
Makefile
setup-pci.c