Date: Sun, 6 Mar 2011 12:48:15 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/mpt mpt.c mpt_cam.c mpt_user.c Message-ID: <201103061248.p26CmWwA063241@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2011-03-06 12:48:15 UTC
FreeBSD src repository
Modified files:
sys/dev/mpt mpt.c mpt_cam.c mpt_user.c
Log:
SVN rev 219335 on 2011-03-06 12:48:15Z by marius
- Allocate the DMA memory shared between the host and the controller as
coherent.
- Add some missing bus_dmamap_sync() calls. This includes putting such
calls before calling reply handlers instead of calling bus_dmamap_sync()
for the request queue from individual reply handlers as these handlers
generally read back updates by the controller.
Tested on amd64 and sparc64.
MFC after: 2 weeks
Revision Changes Path
1.56 +28 -14 src/sys/dev/mpt/mpt.c
1.76 +0 -9 src/sys/dev/mpt/mpt_cam.c
1.5 +13 -8 src/sys/dev/mpt/mpt_user.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103061248.p26CmWwA063241>
