linux-stable/drivers/ide/legacy
Bartlomiej Zolnierkiewicz 374e042c3e ide: add struct ide_tp_ops (take 2)
* Add struct ide_tp_ops for transport methods.

* Add 'const struct ide_tp_ops *tp_ops' to struct ide_port_info
  and ide_hwif_t.

* Set the default hwif->tp_ops in ide_init_port_data().

* Set host driver specific hwif->tp_ops in ide_init_port().

* Export ide_exec_command(), ide_read_status(), ide_read_altstatus(),
  ide_read_sff_dma_status(), ide_set_irq(), ide_tf_{load,read}()
  and ata_{in,out}put_data().

* Convert host drivers and core code to use struct ide_tp_ops.

* Remove no longer needed default_hwif_transport().

* Cleanup ide_hwif_t from methods that are now in struct ide_tp_ops.

While at it:

* Use struct ide_port_info in falconide.c and q40ide.c.

* Rename ata_{in,out}put_data() to ide_{in,out}put_data().

v2:

* Fix missing convertion in ns87415.c.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-07-23 19:55:56 +02:00
..
ali14xx.c ali14xx: convert to use ide_timing_find_mode() 2008-07-16 20:33:37 +02:00
buddha.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
dtc2278.c ide: always auto-tune PIO in legacy VLB host drivers 2008-04-27 15:38:29 +02:00
falconide.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
gayle.c gayle: reserve memory resources at once 2008-07-23 19:55:56 +02:00
ht6560b.c ide: ->port_init_devs -> ->init_dev 2008-07-16 20:33:42 +02:00
ide-4drives.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
ide-cs.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
ide_platform.c ide: remove ->INB, ->OUTB and ->OUTBSYNC methods 2008-07-23 19:55:54 +02:00
macide.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
Makefile ide: add ide-4drives host driver (take 3) 2008-04-18 00:46:34 +02:00
q40ide.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
qd65xx.c ide: ->port_init_devs -> ->init_dev 2008-07-16 20:33:42 +02:00
qd65xx.h qd65xx: use IDE_HFLAG_SINGLE host flag 2008-04-26 17:36:42 +02:00
umc8672.c ide: always auto-tune PIO in legacy VLB host drivers 2008-04-27 15:38:29 +02:00