From 32b467bbd32147352fe26b9dcb616f09db78be57 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Thu, 13 May 2004 14:46:01 -0400 Subject: [libata] kill ATA_QCFLAG_POLL flag The standard ATA bit nIEN in the Device Control register serves as the indicator for whether we are polling or not. As it mirrors ATA_QCFLAG_POLL completely, eliminate that in favor of testing ATA_NIEN bit. --- include/linux/libata.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/linux/libata.h') diff --git a/include/linux/libata.h b/include/linux/libata.h index 05ebe16fc02f..6d741ad2fdd6 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -112,7 +112,6 @@ enum { ATA_QCFLAG_DMA = (1 << 2), /* data delivered via DMA */ ATA_QCFLAG_ATAPI = (1 << 3), /* is ATAPI packet command? */ ATA_QCFLAG_SG = (1 << 4), /* have s/g table? */ - ATA_QCFLAG_POLL = (1 << 5), /* polling, no interrupts */ /* various lengths of time */ ATA_TMOUT_EDD = 5 * HZ, /* hueristic */ @@ -483,7 +482,6 @@ static inline u8 ata_wait_idle(struct ata_port *ap) static inline void ata_qc_set_polling(struct ata_queued_cmd *qc) { - qc->flags |= ATA_QCFLAG_POLL; qc->flags &= ~ATA_QCFLAG_DMA; qc->tf.ctl |= ATA_NIEN; } -- cgit v1.2.3