mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91194
@ -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