mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 23:28:37 -04:00
OK, this is not my day, fix the former fix :/
This commit is contained in:
parent
619f257be1
commit
ae4ce3ceef
1 changed files with 1 additions and 2 deletions
|
|
@ -258,8 +258,7 @@ ata_dmaload(device_t dev, caddr_t data, int32_t count, int dir,
|
|||
dir ? BUS_DMASYNC_PREREAD : BUS_DMASYNC_PREWRITE);
|
||||
|
||||
ch->dma->cur_iosize = count;
|
||||
ch->dma->flags &= ATA_DMA_READ;
|
||||
ch->dma->flags |= dir ? (ATA_DMA_LOADED | ATA_DMA_READ) : ATA_DMA_LOADED;
|
||||
ch->dma->flags = dir ? (ATA_DMA_LOADED | ATA_DMA_READ) : ATA_DMA_LOADED;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue