[PATCH] libata: let ATA_FLAG_PIO_POLLING use polling pio for ATA_PROT_NODATA
commite3472cbe5c10a91c737405cd706142787736392c
authorAlbert Lee <albertcc@tw.ibm.com>
Thu, 7 Dec 2006 03:37:58 +0000 (7 11:37 +0800)
committerJeff Garzik <jeff@garzik.org>
Thu, 7 Dec 2006 12:22:28 +0000 (7 07:22 -0500)
tree242a1912ee0a548969067673fdb329926b5a7a2a
parentd324d4627d7442d9a74b0b93fc40f71ce194632a
[PATCH] libata: let ATA_FLAG_PIO_POLLING use polling pio for ATA_PROT_NODATA

Even if ATA_FLAG_PIO_POLLING is set, libata uses irq pio for the ATA_PROT_NODATA protocol.
This patch let ATA_FLAG_PIO_POLLING use polling pio for the ATA_PROT_NODATA protocol.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c