From 7e6d75884fac3f1a3298328409ebf22e745e4098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Thu, 5 Aug 2004 21:13:41 +0000 Subject: Try to narrow down the race window on HW that does not have ways to poll for which channel actually pulled the irq line. --- sys/dev/ata/ata-all.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/ata/ata-all.h') 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); -- cgit v1.2.3