Date: Fri, 24 Sep 2010 07:14:15 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r213092 - head/sys/dev/ata/chipsets Message-ID: <201009240714.o8O7EFT5093167@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Fri Sep 24 07:14:14 2010 New Revision: 213092 URL: http://svn.freebsd.org/changeset/base/213092 Log: Add missing le32toh(), same as recently done in ata-siliconimage.c. Modified: head/sys/dev/ata/chipsets/ata-ahci.c Modified: head/sys/dev/ata/chipsets/ata-ahci.c ============================================================================== --- head/sys/dev/ata/chipsets/ata-ahci.c Fri Sep 24 04:46:46 2010 (r213091) +++ head/sys/dev/ata/chipsets/ata-ahci.c Fri Sep 24 07:14:14 2010 (r213092) @@ -563,7 +563,7 @@ ata_ahci_end_transaction(struct ata_requ /* 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009240714.o8O7EFT5093167>