diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/ata-disk.c | 4 | ||||
-rw-r--r-- | sys/dev/ata/ata-disk.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index 6424f28..e1c4ef6 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -571,10 +571,6 @@ ad_interrupt(struct ad_request *request) struct ad_softc *adp = request->softc; int dma_stat = 0; -#ifdef ATA_FLUSHCACHE_ON - if (request->flags & ADR_F_FLUSHCACHE) - goto finish; -#endif /* finish DMA transfer */ if (request->flags & ADR_F_DMA_USED) dma_stat = ata_dmadone(adp->device->channel); diff --git a/sys/dev/ata/ata-disk.h b/sys/dev/ata/ata-disk.h index 9e0c4bf..0c175b9 100644 --- a/sys/dev/ata/ata-disk.h +++ b/sys/dev/ata/ata-disk.h @@ -43,7 +43,6 @@ struct ad_request { #define ADR_F_DMA_USED 0x0004 #define ADR_F_QUEUED 0x0008 #define ADR_F_FORCE_PIO 0x0010 -#define ADR_F_FLUSHCACHE 0x0020 caddr_t data; /* pointer to data buf */ struct bio *bp; /* associated bio ptr */ |