diff options
author | mav <mav@FreeBSD.org> | 2010-09-24 07:14:14 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-09-24 07:14:14 +0000 |
commit | cc9d3a376dc5d0be14e05fa9543b5d21203c46ec (patch) | |
tree | 9a1b481292c7ddc9e1312d1442beefd259111e97 /sys/dev/ata | |
parent | dfad41471108b3c0ab5fdefb6d1fe7206169231a (diff) | |
download | FreeBSD-src-cc9d3a376dc5d0be14e05fa9543b5d21203c46ec.zip FreeBSD-src-cc9d3a376dc5d0be14e05fa9543b5d21203c46ec.tar.gz |
Add missing le32toh(), same as recently done in ata-siliconimage.c.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/chipsets/ata-ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-ahci.c b/sys/dev/ata/chipsets/ata-ahci.c index ec1e8e3..7496f6b 100644 --- a/sys/dev/ata/chipsets/ata-ahci.c +++ b/sys/dev/ata/chipsets/ata-ahci.c @@ -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); |