CVSROOT:        /cvs
Module name:    src
Changes by:     will...@cvs.openbsd.org 2010/10/01 21:00:52

Modified files:
        sys/dev/pci    : Tag: OPENBSD_4_8 if_vr.c 

Log message:
MFC:

- - -
revision 1.106
date: 2010/09/03 18:14:54;  author: kettenis;  state: Exp;  lines: +5 -1
bus_dmamap_sync() freshly initialized Rx descriptors before flipping the bit
that hands them over to the hardware.  This prevents the hardware from seeing
stale contents if the compiler decides to re-order stores or if the hardware
does store-reordering.

There are sme doubts whether the i386/amd64 bus_dmamap_sync() implementation
will be able to convince future compilers that do even more insanely stupid
optimizations from re-ordering stores.  That will be addressed in a seperate
patch.

ok matthew@, sthen@, oga@
- - -

from sthen
ok deraadt

Reply via email to