android_kernel_xiaomi_sm7250/drivers/ide
Bartlomiej Zolnierkiewicz 320112bd28 ide: check rq->cmd_type in drive_cmd_intr()
drive_cmd_intr() is used by both REQ_TYPE_ATA_CMD and REQ_TYPE_ATA_TASK
but commands using PIO-in protocol are valid only for REQ_TYPE_ATA_CMD
(&args[4] in case of REQ_TYPE_ATA_TASK points to a value for IDE_LCYL_REG
register instead of the data buffer).  This fix allows REQ_TYPE_ATA_TASK
commands to use non-zero values for IDE_SECTOR_REG (args[3]).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-11-05 21:42:26 +01:00
..
arm ide/arm/icside: fallout from commit 86f3a492bb 2007-10-27 22:18:11 -07:00
cris [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
h8300 icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
legacy Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
mips [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
pci piix: add support for ICH7 on Acer 5602aWLMi 2007-11-05 21:42:25 +01:00
ppc ide: remove write-only hwif->hw 2007-10-20 00:32:33 +02:00
ide-acpi.c ide: fix ->data_phase in taskfile_load_raw() 2007-10-20 00:32:37 +02:00
ide-cd.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
ide-cd.h ide-cd: replace C code with call to ARRAY_SIZE() macro 2007-07-09 23:17:57 +02:00
ide-disk.c ide-disk: add get_smart_data() helper 2007-10-20 00:32:37 +02:00
ide-dma.c ide: PCI BMDMA initialization fixes (take 2) 2007-10-20 00:32:37 +02:00
ide-floppy.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: check rq->cmd_type in drive_cmd_intr() 2007-11-05 21:42:26 +01:00
ide-iops.c ide: unexport ide_fix_driveid 2007-11-05 21:42:26 +01:00
ide-lib.c ide: remove ide_use_fast_pio() 2007-10-16 22:29:54 +02:00
ide-pnp.c icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
ide-probe.c ide: do_identify() string termination fix 2007-11-05 21:42:25 +01:00
ide-proc.c ide: add ide_device_add() 2007-10-20 00:32:31 +02:00
ide-tape.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
ide-taskfile.c [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: remove write-only hwif->hw 2007-10-20 00:32:33 +02:00
Kconfig ide/Kconfig: fix BLK_DEV_OFFBOARD dependencies 2007-11-05 21:42:26 +01:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
setup-pci.c ide: enhance ide_setup_pci_noise() 2007-10-20 00:32:36 +02:00