android_kernel_xiaomi_sm7250/drivers/ide
Bartlomiej Zolnierkiewicz 9ff6f72f43 ide: remove hwif->autodma and drive->autodma
* hpt34x.c: disable DMA masks for HPT345
  (hwif->autodma is zero so DMA won't be enabled anyway).

* trm290.c: disable IDE_HFLAG_TRUST_BIOS_FOR_DMA flag
  (hwif->autodma is zero so DMA won't be enabled anyway).

* Check noautodma global variable instead of drive->autodma in ide_tune_dma().

  This fixes handling of "ide=nodma" kernel parameter for icside, ide-cris,
  au1xxx-ide, pmac, it821x, jmicron, sgiioc4 and siimage host drivers.

* Remove hwif->autodma (it was not checked by IDE core code anyway) and
  drive->autodma (was set by all host drivers - except HPT345/TRM290 special
  cases - unless "ide=nodma" was used).

While at it:
- remove needless printk() from icside.c
- remove stale FIXME/comment from ide-probe.c
- don't force DMA off if PCI bus-mastering had to be enabled in setup-pci.c
  (this setting was always later over-ridden by host drivers anyway)

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-16 22:29:58 +02:00
..
arm ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
cris ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +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 hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
pci ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
ppc ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +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 hwif->autodma and drive->autodma 2007-10-16 22:29:58 +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 hwif->autodma and drive->autodma 2007-10-16 22:29:58 +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 hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
Kconfig ide: remove CONFIG_BLK_DEV_IDEDMA_FORCED 2007-10-16 22:29:56 +02:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
setup-pci.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00