android_kernel_xiaomi_sm8350/drivers/ide
Bartlomiej Zolnierkiewicz 26bcb879c0 ide: add ide_set{_max}_pio() (take 4)
* Add IDE_HFLAG_ABUSE_{PREFETCH,FAST_DEVSEL,DMA_MODES} flags
  and set them in ht6560, cmd640, cmd64x and sc1200 host drivers.

* Add set_pio_mode_abuse() for checking if host driver has a non-standard
  ->tuneproc() implementation and use it in do_special().

* Add ide_set_pio() for setting PIO mode (it uses hwif->pio_mask to find
  the maximum PIO mode supported by the host), also add ide_set_max_pio()
  wrapper for ide_set_pio() to use for auto-tuning.  Convert users of
  ->tuneproc to use ide_set{_max}_pio() where possible.  This leaves only
  do_special(), set_using_pio(), ide_hwif_restore() and ide_set_pio() as
  a direct users of ->tuneproc.

* Remove no longer needed ide_get_best_pio_mode() calls and printk-s
  reporting PIO mode selected from ->tuneproc implementations.

* Rename ->tuneproc hook to ->set_pio_mode and make 'pio' argument const.

* Remove stale comment from ide_config_drive_speed().

v2:
* Fix "ata_" prefix (Noticed by Jeff).

v3:
* Minor cleanups/fixups per Sergei's suggestions.

v4:
* Fix compile problem in drivers/ide/pci/cmd640.c
  (Noticed by Andrew Morton).

* Improve some ->set_pio_mode comments.

Reviewed-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-11 23:54:00 +02:00
..
arm ide: move ide_rate_filter() calls to the upper layer (take 2) 2007-10-11 23:53:59 +02:00
cris ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
h8300 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
legacy ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
mips ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
pci ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
ppc ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
ide-acpi.c ide: hook ACPI _PSx method to IDE power on/off 2007-10-11 23:53:58 +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 ide: ST320413A has the same problem as ST340823A 2007-09-17 12:35:30 +02:00
ide-dma.c ide: mode limiting fixes for user requested speed changes 2007-10-11 23:53:59 +02:00
ide-floppy.c ide: add support for SCSI ioctls to ide-floppy 2007-07-20 01:11:59 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
ide-iops.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
ide-lib.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +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: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +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: never called printk statement in ide-taskfile.c::wait_drive_not_busy 2007-07-03 22:28:34 +02:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
Kconfig ide: Kconfig face-lift 2007-10-11 23:54:00 +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