Finish phk's previous removal of BIO_ORDERED, all code that
depended on ATA_FLUSHCACHE_ON is now useless.
This commit is contained in:
parent
d7b94dc447
commit
acf7db1110
@ -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);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user