android_kernel_xiaomi_sm8350/drivers/ide
Bartlomiej Zolnierkiewicz 0ae2e17865 ide: remove ->ide_dma_check (take 2)
* Add IDE_HFLAG_TRUST_BIOS_FOR_DMA host flag for host drivers that depend
  on BIOS for programming device/controller for DMA.  Set it in cy82c693,
  generic, ns87415, opti621 and trm290 host drivers.

* Add IDE_HFLAG_VDMA host flag for host drivers using VDMA.  Set it in cs5520
  host driver.

* Teach ide_tune_dma() about IDE_HFLAG_TRUST_BIOS_FOR_DMA flag.

* Add generic ide_dma_check() helper and remove all open coded ->ide_dma_check
  implementations.  Fix all places checking for presence of ->ide_dma_check
  hook to check for ->ide_dma_on instead.

* Remove no longer needed code from config_drive_for_dma().

* Make ide_tune_dma() static.

v2:
* Fix config_drive_for_dma() return values.

* Fix ide-dma.c build for CONFIG_BLK_DEV_IDEDMA_PCI=n by adding
  dummy config_drive_for_dma() inline.

* Fix IDE_HFLAG_TRUST_BIOS_FOR_DMA handling in ide_dma_check().

* Fix init_hwif_it8213() comment.

There should be no functionality changes caused by this patch.

Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-16 22:29:55 +02:00
..
arm ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
cris ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
h8300 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
legacy ide-cs: Add additional id string (corsair, 1GB) 2007-10-16 22:29:52 +02:00
mips ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
pci ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
ppc ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
ide-acpi.c ide: unexport ide_acpi_set_state 2007-10-13 17:47:48 +02:00
ide-cd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +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 block: convert blkdev_issue_flush() to use empty barriers 2007-10-16 11:05:02 +02:00
ide-dma.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +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: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
ide-iops.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
ide-lib.c ide: remove ide_use_fast_pio() 2007-10-16 22:29:54 +02:00
ide-pnp.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
ide-probe.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
ide-proc.c ide: use mutex instead of ide_setting_sem semaphore in IDE driver 2007-07-09 23:17:56 +02:00
ide-tape.c ide: eliminate warnings in ide-tape.c 2007-08-01 23:46:44 +02:00
ide-taskfile.c IDE: sg chaining support 2007-10-16 11:21:00 +02:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
Kconfig ide: remove CONFIG_IDEDMA_IVB config option 2007-10-13 17:47:52 +02:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
setup-pci.c ide: fix PCI refcounting 2007-09-11 22:28:34 +02:00