diff options
author | 2010-09-03 18:14:54 +0000 | |
---|---|---|
committer | 2010-09-03 18:14:54 +0000 | |
commit | 488e64d3e68b9b29c773000e1929271f5e53e27c (patch) | |
tree | f35ceedeb3fb183d86e95ca94acccf03b00a2909 /usr.sbin | |
parent | fix initialization value of analog register AR_AN_TOP2 on some high (diff) | |
download | wireguard-openbsd-488e64d3e68b9b29c773000e1929271f5e53e27c.tar.xz wireguard-openbsd-488e64d3e68b9b29c773000e1929271f5e53e27c.zip |
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@
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions