2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-30 08:04:13 +08:00
linux-next/drivers/ide
Bartlomiej Zolnierkiewicz 130e886708 ide: remove ide_end_request()
* Add ide_rq_bytes() helper.

* Add blk_noretry_request() quirk to ide_complete_rq() (currently only fs
  requests can be marked as "noretry" so there is no change in behavior).

* Switch current ide_end_request() users to use ide_complete_rq().

  [ No need to check for rq->nr_sectors == 0 in {ide_dma,task_pio}_intr(),
    nsectors == 0 in cdrom_end_request() and err == 0 in ide_do_devset(). ]

* Remove no longer needed ide_end_request().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-03-27 12:46:45 +01:00
..
aec62xx.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
ali14xx.c ide: remove useless subdirs from drivers/ide/ 2008-10-21 20:57:23 +02:00
alim15x3.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
amd74xx.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
at91_ide.c ide: pass command instead of request to ide_pio_datablock() 2009-03-27 12:46:38 +01:00
atiixp.c ide: remove no longer needed IDE_HFLAG[_FORCE]_LEGACY_IRQS 2009-03-24 23:22:52 +01:00
au1xxx-ide.c ide: move command related fields from ide_hwif_t to struct ide_cmd 2009-03-27 12:46:38 +01:00
buddha.c ide: allow host drivers to specify IRQ flags 2009-03-27 12:46:27 +01:00
cmd64x.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
cmd640.c cmd640: use ide_get_pair_dev() helper 2009-01-06 17:20:55 +01:00
cs5520.c ide: remove pciirq argument from ide_pci_setup_ports() 2009-03-24 23:22:53 +01:00
cs5530.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
cs5535.c ide: remove useless subdirs from drivers/ide/ 2008-10-21 20:57:23 +02:00
cs5536.c ide: add CS5536 host driver (v3) 2009-02-02 20:12:23 +01:00
cy82c693.c ide: remove HWIF() macro 2009-01-06 17:20:52 +01:00
delkin_cb.c ide: allow host drivers to specify IRQ flags 2009-03-27 12:46:27 +01:00
dtc2278.c ide: add IDE_HFLAG_DTC2278 host flag 2009-03-27 12:46:28 +01:00
falconide.c ide: pass command instead of request to ide_pio_datablock() 2009-03-27 12:46:38 +01:00
gayle.c ide: allow host drivers to specify IRQ flags 2009-03-27 12:46:27 +01:00
hpt366.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
ht6560b.c ide: remove useless subdirs from drivers/ide/ 2008-10-21 20:57:23 +02:00
icside.c ide: move command related fields from ide_hwif_t to struct ide_cmd 2009-03-27 12:46:38 +01:00
ide_arm.c ide_arm: use struct ide_port_info 2009-03-27 12:46:17 +01:00
ide_platform.c ide: remove useless subdirs from drivers/ide/ 2008-10-21 20:57:23 +02:00
ide-4drives.c ide: add IDE_HFLAG_4DRIVES host flag 2009-03-27 12:46:28 +01:00
ide-acpi.c ide: remove ide_task_t typedef 2009-03-27 12:46:37 +01:00
ide-atapi.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-cd_ioctl.c ide: remove IDE_AFLAG_NO_DOORLOCKING 2008-10-17 18:09:11 +02:00
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-cd.h ide-cd: use ide_drive_t's rq in cdrom_queue_request_sense 2009-03-27 12:46:24 +01:00
ide-cs.c ide: allow host drivers to specify IRQ flags 2009-03-27 12:46:27 +01:00
ide-devsets.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-disk_ioctl.c [PATCH] switch ide_disk_ops ->ioctl() to sane prototype 2008-10-21 07:47:30 -04:00
ide-disk_proc.c ide: use ata_tf_protocols enums 2009-03-27 12:46:39 +01:00
ide-disk.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-disk.h [PATCH] switch ide_disk_ops ->ioctl() to sane prototype 2008-10-21 07:47:30 -04:00
ide-dma-sff.c ide: move command related fields from ide_hwif_t to struct ide_cmd 2009-03-27 12:46:38 +01:00
ide-dma.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-eh.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-floppy_ioctl.c ide-floppy: allocate only toplevel packet commands 2009-01-02 16:12:51 +01:00
ide-floppy_proc.c ide: NULL noise: drivers/ide/ide-*.c 2009-03-05 16:10:56 +01:00
ide-floppy.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-floppy.h [PATCH] switch ide_disk_ops ->ioctl() to sane prototype 2008-10-21 07:47:30 -04:00
ide-gd.c ide: remove ->end_request method 2009-03-27 12:46:36 +01:00
ide-gd.h ide: move ->failed_pc to ide_drive_t 2009-03-27 12:46:34 +01:00
ide-generic.c ide-generic: use struct ide_port_info 2009-03-27 12:46:17 +01:00
ide-h8300.c ide: pass command instead of request to ide_pio_datablock() 2009-03-27 12:46:38 +01:00
ide-io-std.c ide: pass command instead of request to ide_pio_datablock() 2009-03-27 12:46:38 +01:00
ide-io.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-ioctls.c ide: use ata_tf_protocols enums 2009-03-27 12:46:39 +01:00
ide-iops.c ide: remove ide_task_t typedef 2009-03-27 12:46:37 +01:00
ide-legacy.c ide: move legacy ISA/VLB ports handling to ide-legacy.c (v2) 2008-12-29 20:27:37 +01:00
ide-lib.c ide: remove ide_task_t typedef 2009-03-27 12:46:37 +01:00
ide-park.c ide: use ide_complete_cmd() for REQ_UNPARK_HEADS 2009-03-27 12:46:42 +01:00
ide-pci-generic.c ide: remove no longer needed IDE_HFLAG[_FORCE]_LEGACY_IRQS 2009-03-24 23:22:52 +01:00
ide-pio-blacklist.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
ide-pm.c ide: use ata_tf_protocols enums 2009-03-27 12:46:39 +01:00
ide-pnp.c ide-pnp: use struct ide_port_info 2009-03-27 12:46:18 +01:00
ide-probe.c ide: remove ide_task_t typedef 2009-03-27 12:46:37 +01:00
ide-proc.c ide: remove ide_task_t typedef 2009-03-27 12:46:37 +01:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-sysfs.c ide: move sysfs support to ide-sysfs.c 2009-01-02 16:12:48 +01:00
ide-tape.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-taskfile.c ide: remove ide_end_request() 2009-03-27 12:46:45 +01:00
ide-timings.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
ide-xfer-mode.c ide: move xfer mode tuning code to ide-xfer-mode.c 2009-03-24 23:22:46 +01:00
ide.c ide: move device settings code to ide-devsets.c 2009-03-24 23:22:44 +01:00
it821x.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
it8172.c Resurrect IT8172 IDE controller driver 2009-01-06 17:21:01 +01:00
it8213.c ide: remove HWIF() macro 2009-01-06 17:20:52 +01:00
jmicron.c ide: Switch to a common address 2008-11-02 21:40:08 +01:00
Kconfig ide: move xfer mode tuning code to ide-xfer-mode.c 2009-03-24 23:22:46 +01:00
macide.c ide: allow host drivers to specify IRQ flags 2009-03-27 12:46:27 +01:00
Makefile ide: move error handling code to ide-eh.c (v2) 2009-03-24 23:22:47 +01:00
ns87415.c ide: remove ide_task_t typedef 2009-03-27 12:46:37 +01:00
opti621.c ide: remove useless subdirs from drivers/ide/ 2008-10-21 20:57:23 +02:00
palm_bk3710.c IDE: palm_bk3710: use ioremap instead of arch-specific IO_ADDRESS() 2009-03-27 12:46:23 +01:00
pdc202xx_new.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
pdc202xx_old.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
piix.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
pmac.c ide: move command related fields from ide_hwif_t to struct ide_cmd 2009-03-27 12:46:38 +01:00
q40ide.c ide: pass command instead of request to ide_pio_datablock() 2009-03-27 12:46:38 +01:00
qd65xx.c Fix my email address in qd65xx.[ch]/pata_qdi.c 2009-02-03 16:53:56 -08:00
qd65xx.h Fix my email address in qd65xx.[ch]/pata_qdi.c 2009-02-03 16:53:56 -08:00
rapide.c arm ide breakage 2008-10-26 09:35:05 -07:00
rz1000.c rz1000: apply chipset quirks early (v2) 2008-12-29 20:27:33 +01:00
sc1200.c ide: move read_sff_dma_status() method to 'struct ide_dma_ops' 2009-01-06 17:21:02 +01:00
scc_pata.c ide: pass command instead of request to ide_pio_datablock() 2009-03-27 12:46:38 +01:00
serverworks.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
setup-pci.c ide: allow host drivers to specify IRQ flags 2009-03-27 12:46:27 +01:00
sgiioc4.c ide: move command related fields from ide_hwif_t to struct ide_cmd 2009-03-27 12:46:38 +01:00
siimage.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
sis5513.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
sl82c105.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00
slc90e66.c ide: remove no longer needed IDE_HFLAG[_FORCE]_LEGACY_IRQS 2009-03-24 23:22:52 +01:00
tc86c001.c ide: move read_sff_dma_status() method to 'struct ide_dma_ops' 2009-01-06 17:21:02 +01:00
triflex.c ide: remove HWIF() macro 2009-01-06 17:20:52 +01:00
trm290.c trm290: trm290_dma_setup() fix 2009-03-27 12:46:32 +01:00
tx4938ide.c ide: pass command instead of request to ide_pio_datablock() 2009-03-27 12:46:38 +01:00
tx4939ide.c ide: move command related fields from ide_hwif_t to struct ide_cmd 2009-03-27 12:46:38 +01:00
umc8672.c ide: merge ide_hwgroup_t with ide_hwif_t (v2) 2009-01-06 17:20:50 +01:00
via82cxxx.c ide: fix ->init_chipset method to return 'int' value 2009-03-24 23:22:53 +01:00