Date: Fri, 25 Sep 2009 16:45:27 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ata/chipsets ata-marvell.c Message-ID: <200909251645.n8PGjZ1Z038530@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2009-09-25 16:45:27 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/ata/chipsets ata-marvell.c
Log:
SVN rev 197488 on 2009-09-25 16:45:27Z by marius
- Add missing bus_dmamap_sync(9) calls for the work DMA map. Previously
the work area was totally unsynchronized which means this driver only
had a chance of working on x86 when no bounce buffers were involved,
which isn't that likely given that support for 64-bit DMA is currently
broken throughout ata(4).
- Add necessary little-endian conversion of accesses to the work area,
making this driver work on big-endian hosts. While at it, use the
alignment-agnostic byte order encoders in order to be on the safe side.
- Clear the reserved member of the SG list entries in order to be on the
safe side. [1]
Submitted by: yongari [1]
Reviewed by: yongari
Approved by: re (kib)
Revision Changes Path
1.9.2.2 +18 -7 src/sys/dev/ata/chipsets/ata-marvell.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909251645.n8PGjZ1Z038530>
