Update the last commit to also take 48Bit access functions.

This commit is contained in:
Søren Schmidt 2005-12-27 17:13:11 +00:00
parent 4b55f0c7c7
commit 091bb42ceb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153754

View file

@ -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)