diff options
| author | Jeff Garzik <jgarzik@redhat.com> | 2004-05-13 14:46:01 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@redhat.com> | 2004-05-13 14:46:01 -0400 |
| commit | 32b467bbd32147352fe26b9dcb616f09db78be57 (patch) | |
| tree | 524e24ecde5368d33408d052ade6d2b56258f87a /include/linux/libata.h | |
| parent | 63a2ea09fb6fa17943a9bfd9cb1732704eb96d01 (diff) | |
[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.
Diffstat (limited to 'include/linux/libata.h')
| -rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |
