Date: Mon, 1 Jun 2009 10:49:08 +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: <200906011049.n51AnHKd056227@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2009-06-01 10:49:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/bce if_bce.c Log: SVN rev 193220 on 2009-06-01 10:49:08Z 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.34.2.9 +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?200906011049.n51AnHKd056227>