mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Update the last commit to also take 48Bit access functions.
This commit is contained in:
parent
4b55f0c7c7
commit
091bb42ceb
1 changed files with 3 additions and 1 deletions
|
|
@ -2426,7 +2426,9 @@ ata_marvell_command(struct ata_request *request)
|
|||
/* only DMA R/W goes through the EMDA machine */
|
||||
/* XXX SOS add ATAPI commands support later */
|
||||
if (request->u.ata.command != ATA_READ_DMA &&
|
||||
request->u.ata.command != ATA_WRITE_DMA) {
|
||||
request->u.ata.command != ATA_READ_DMA48 &&
|
||||
request->u.ata.command != ATA_WRITE_DMA &&
|
||||
request->u.ata.command != ATA_WRITE_DMA48) {
|
||||
|
||||
/* disable the EDMA machinery */
|
||||
if (ATA_INL(ctlr->r_res1, 0x02028 + ATA_MV_EDMA_BASE(ch)) & 0x00000001)
|
||||
|
|
|
|||
Loading…
Reference in a new issue