aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata-all.h
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>2004-08-05 21:13:41 +0000
committerSøren Schmidt <sos@FreeBSD.org>2004-08-05 21:13:41 +0000
commit7e6d75884fac3f1a3298328409ebf22e745e4098 (patch)
treefef880fd3fbfb215f0710bc58da3a5427a75a2d1 /sys/dev/ata/ata-all.h
parentd5a9dcbf23b73de991127af79f2f81e688fb7a40 (diff)
downloadsrc-7e6d75884fac3f1a3298328409ebf22e745e4098.tar.gz
src-7e6d75884fac3f1a3298328409ebf22e745e4098.zip
Try to narrow down the race window on HW that does not have ways to
poll for which channel actually pulled the irq line.
Notes
Notes: svn path=/head/; revision=133184
Diffstat (limited to 'sys/dev/ata/ata-all.h')
-rw-r--r--sys/dev/ata/ata-all.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h
index 7e78c2fb86dd..60698dfae907 100644
--- a/sys/dev/ata/ata-all.h
+++ b/sys/dev/ata/ata-all.h
@@ -297,8 +297,9 @@ struct ata_dma {
u_int32_t max_iosize; /* DMA engine max IO size */
u_int32_t cur_iosize; /* DMA engine current IO size */
int flags;
-#define ATA_DMA_ACTIVE 0x01 /* DMA transfer in progress */
-#define ATA_DMA_READ 0x02 /* transaction is a read */
+#define ATA_DMA_READ 0x01 /* transaction is a read */
+#define ATA_DMA_LOADED 0x02 /* DMA tables etc loaded */
+#define ATA_DMA_ACTIVE 0x04 /* DMA transfer in progress */
void (*alloc)(struct ata_channel *ch);
void (*free)(struct ata_channel *ch);