CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2010/09/03 12:14:54

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

Log message:
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@

Reply via email to