OpenCloudOS-Kernel/drivers/ide
Bartlomiej Zolnierkiewicz aedea5910c ide-pmac: remove pmac_ide_do_setfeature() (take 2)
Use ide_config_drive_speed() instead of pmac_ide_do_setfeature() and remove
the latter, also  ide-iops.c::__ide_wait_stat() could be static again.

Since for IDE PMAC host driver IDE_CONTROL_REG is always true, device's
->quirk_list is always zero and ->ide_dma_host_{on,off} are nops than
the only changes in behavior are:

* if PIO mode is set then ->dma_off_queitly is called to disable DMA

* if setting transfer mode fails ide_dump_status() is called to dump status

v2:
* IDE PMAC controllers allow separate PIO and DMA timings and PPC userland
  depends on this fact, and calls "hdparm -p" without calling "hdparm -d".

  Therefore to compensate for DMA being disabled by ide_config_drive_speed()
  for PIO modes:

  - add IDE_HFLAG_SET_PIO_MODE_KEEP_DMA flag and set it in PMAC host driver

  - add handling of the new flag to ide-io.c::do_special()

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-13 17:47:50 +02:00
..
arm icside: fix ->speedproc to return on unsupported modes (take 5) 2007-10-11 23:54:00 +02:00
cris ide: use only ->set_pio_mode method for programming PIO modes (take 2) 2007-10-11 23:54:02 +02:00
h8300 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
legacy ide_platform: set hwif->chipset 2007-10-13 17:47:47 +02:00
mips ide: use only ->set_pio_mode method for programming PIO modes (take 2) 2007-10-11 23:54:02 +02:00
pci Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 2007-10-11 19:20:44 -07:00
ppc ide-pmac: remove pmac_ide_do_setfeature() (take 2) 2007-10-13 17:47:50 +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
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 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 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-pmac: remove pmac_ide_do_setfeature() (take 2) 2007-10-13 17:47:50 +02:00
ide-iops.c ide-pmac: remove pmac_ide_do_setfeature() (take 2) 2007-10-13 17:47:50 +02:00
ide-lib.c ide: use only ->set_pio_mode method for programming PIO modes (take 2) 2007-10-11 23:54:02 +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 Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
setup-pci.c ide: fix PCI refcounting 2007-09-11 22:28:34 +02:00