Date: Mon, 18 May 2009 01:51:52 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/bce if_bce.c Message-ID: <200905180151.n4I1pwVV033933@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2009-05-18 01:51:52 UTC FreeBSD src repository Modified files: sys/dev/bce if_bce.c Log: SVN rev 192281 on 2009-05-18 01:51:52Z by delphij DMA synchronization fixes: - In bce_rx_intr(), use BUS_DMASYNC_POSTREAD instead of BUS_DMASYNC_POSTWRITE, as we want to "read" from the rx page chain pages. - Document why we need to do PREWRITE after we have updated the rx page chain pages. - In bce_intr(), use BUS_DMASYNC_POSTREAD and BUS_DMASYNC_PREREAD when before and after CPU "reading" the status block. - Adjust some nearby style mismatches/etc. Pointed out by: yongari Approved by: davidch (no objection) but bugs are mine :) Revision Changes Path 1.54 +13 -16 src/sys/dev/bce/if_bce.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905180151.n4I1pwVV033933>