Date: Sun, 22 Nov 2009 20:02:13 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/bge if_bge.c Message-ID: <200911222002.nAMK2NbD045733@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-11-22 20:02:13 UTC
FreeBSD src repository
Modified files:
sys/dev/bge if_bge.c
Log:
SVN rev 199667 on 2009-11-22 20:02:13Z by yongari
Cache Rx producer/Tx consumer index as soon as we know status block
update and then clear status block. Previously it used to access
these index without synchronization which may cause problems when
bounce buffers are used. Also add missing bus_dmamap_sync(9) in
polling handler. Since we now update status block in driver, adjust
bus_dmamap_sync(9) for status block.
Revision Changes Path
1.253 +27 -20 src/sys/dev/bge/if_bge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911222002.nAMK2NbD045733>
