mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-22 00:04:58 +00:00
Update the last commit to also take 48Bit access functions.
This commit is contained in:
parent
4b55f0c7c7
commit
091bb42ceb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153754
|
@ -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