1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

Add missing le32toh(), same as recently done in ata-siliconimage.c.

This commit is contained in:
Alexander Motin 2010-09-24 07:14:14 +00:00
parent ea14ae7aed
commit 433d4558c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213092

View File

@ -563,7 +563,7 @@ ata_ahci_end_transaction(struct ata_request *request)
/* record how much data we actually moved */
clp = (struct ata_ahci_cmd_list *)
(ch->dma.work + ATA_AHCI_CL_OFFSET);
request->donecount = clp->bytecount;
request->donecount = le32toh(clp->bytecount);
/* release SG list etc */
ch->dma.unload(request);