Tejun Heo 8930ff254a libata-sff: clean up inheritance in several drivers
1. pata_cmd640 is PIO only.  Inherit from sff.

2. pata_macio is BMDMA.  Inherit from bmdma and drop explicit
   bmdma_mode_filter() setting.

3. In sata_mv, unlike mv5, mv6 is BMDMA.  Inherit from bmdma and
   don't clear ->post_internal_cmd().

4. bf54x and icside are quasi-BMDMA controllers which don't use the
   standard BMDMA registers so they don't initialize bmdma_addr and
   inherit from sff to avoid the default mode_filter which disables
   DMA modes if bmdma_addr is not initialized.

For 2 and 3, this patch makes the drivers explicitly specify
->mode_filter to ATA_OP_NULL while inheriting from ata_bmdma_port_ops.
These will be removed by the next patch.

This patch makes all and only BMDMA drivers inherit from
ata_bmdma_port_ops to ease further SFF/BMDMA separation.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-05-19 13:31:29 -04:00
..
2010-05-14 17:35:51 -04:00
2010-05-17 22:49:02 -04:00
2010-05-17 22:49:02 -04:00
2010-05-14 17:08:01 -04:00
2009-09-11 02:25:58 -04:00
2010-05-17 22:49:02 -04:00
2010-05-17 22:49:02 -04:00
2010-05-17 22:49:02 -04:00
2008-01-23 05:24:15 -05:00
2010-05-17 22:49:02 -04:00
2010-05-17 22:49:02 -04:00
2010-05-17 22:49:02 -04:00
2009-09-08 21:17:36 -04:00
2010-05-17 22:49:02 -04:00
2010-05-17 22:49:02 -04:00
2007-07-02 10:17:42 -04:00