linux/drivers/ata
James Bottomley fa2fc7f481 libata: implement drain buffers
This just updates the libata slave configure routine to take advantage
of the block layer drain buffers.  It also adjusts the size lengths in
the atapi code to add the drain buffer to the DMA length so the driver
knows it can rely on it.

I suspect I should also be checking for AHCI as well as ATA_DEV_ATAPI,
but I couldn't see how to do that easily.

tj: * atapi_drain_needed() added such that draining is applied to only
      misc ATAPI commands.
    * q->bounce_gfp used when allocating drain buffer.
    * Now duplicate ATAPI PIO drain logic dropped.
    * ata_dev_printk() used instead of sdev_printk().

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-02-19 11:36:57 +01:00
..
Kconfig sata_mv: Remove PCI dependency 2008-02-01 12:26:37 -05:00
Makefile
ahci.c libata: eliminate the home grown dma padding in favour of 2008-02-19 11:36:56 +01:00
ata_generic.c
ata_piix.c ata: fix sparse warning in ata_piix.c 2008-02-15 13:50:58 -05:00
libata-acpi.c
libata-core.c libata: implement drain buffers 2008-02-19 11:36:57 +01:00
libata-eh.c
libata-pmp.c
libata-scsi.c libata: implement drain buffers 2008-02-19 11:36:57 +01:00
libata-sff.c
libata.h
pata_acpi.c ata: fix sparse warning in pata_acpi.c 2008-02-15 13:51:33 -05:00
pata_ali.c
pata_amd.c ata: sparse fixes for pata_amd.c 2008-02-15 13:51:24 -05:00
pata_artop.c
pata_at32.c drivers/ata/: Spelling fixes 2008-02-03 17:08:11 +02:00
pata_atiixp.c
pata_bf54x.c Blackfin pata-bf54x driver: fix compiling bug - no ata_port struct in struct ata_device any more 2008-02-01 12:26:43 -05:00
pata_cmd64x.c
pata_cmd640.c
pata_cs5520.c PCI: Remove users of pci_enable_device_bars() 2008-02-01 15:04:27 -08:00
pata_cs5530.c
pata_cs5535.c
pata_cs5536.c ata: fix sparse warning in pata_cs5536.c 2008-02-15 13:51:27 -05:00
pata_cypress.c
pata_efar.c drivers/ata/: Spelling fixes 2008-02-03 17:08:11 +02:00
pata_hpt3x2n.c
pata_hpt3x3.c
pata_hpt37x.c
pata_hpt366.c
pata_icside.c libata: eliminate the home grown dma padding in favour of 2008-02-19 11:36:56 +01:00
pata_isapnp.c
pata_it821x.c
pata_it8213.c drivers/ata/: Spelling fixes 2008-02-03 17:08:11 +02:00
pata_ixp4xx_cf.c
pata_jmicron.c ata: fix sparse warning in pata_jmicron.c 2008-02-15 13:51:29 -05:00
pata_legacy.c pata_legacy: don't call ata_host_detach() after initialization failure 2008-02-15 13:51:12 -05:00
pata_marvell.c ata: fix sparse warning in pata_marvell.c 2008-02-15 13:51:30 -05:00
pata_mpc52xx.c
pata_mpiix.c
pata_netcell.c
pata_ninja32.c pata_ninja32: setup changes 2008-02-11 14:30:07 -05:00
pata_ns87410.c
pata_ns87415.c
pata_of_platform.c Rename: linux/pata_platform.h to linux/ata_platform.h 2008-02-06 06:54:17 -05:00
pata_oldpiix.c
pata_opti.c
pata_optidma.c
pata_pcmcia.c
pata_pdc202xx_old.c
pata_pdc2027x.c
pata_platform.c Rename: linux/pata_platform.h to linux/ata_platform.h 2008-02-06 06:54:17 -05:00
pata_qdi.c
pata_radisys.c
pata_rz1000.c
pata_sc1200.c
pata_scc.c pata_scc.c: add thaw ops 2008-02-15 13:51:22 -05:00
pata_serverworks.c
pata_sil680.c
pata_sis.c drivers/ata/: Spelling fixes 2008-02-03 17:08:11 +02:00
pata_sl82c105.c pata_sl82c105: dual channel support 2008-02-01 12:26:40 -05:00
pata_triflex.c
pata_via.c pata_via: fix SATA cable detection on cx700 2008-02-11 14:29:42 -05:00
pata_winbond.c
pdc_adma.c
sata_fsl.c libata: eliminate the home grown dma padding in favour of 2008-02-19 11:36:56 +01:00
sata_inic162x.c iommu sg merging: sata_inic162x: use pci_set_dma_max_seg_size 2008-02-05 09:44:11 -08:00
sata_mv.c libata: eliminate the home grown dma padding in favour of 2008-02-19 11:36:56 +01:00
sata_nv.c sata_nv: fix ATAPI issues with memory over 4GB (v7) 2008-02-06 07:00:27 -05:00
sata_promise.c ata: fix sparse warning in sata_promise.c 2008-02-15 13:50:59 -05:00
sata_promise.h
sata_qstor.c
sata_sil.c
sata_sil24.c libata: eliminate the home grown dma padding in favour of 2008-02-19 11:36:56 +01:00
sata_sis.c
sata_svw.c
sata_sx4.c
sata_uli.c
sata_via.c ata: fix sparse warning in sata_via.c 2008-02-15 13:51:01 -05:00
sata_vsc.c
sis.h