summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-10-30 22:53:30 +0000
committeradrian <adrian@FreeBSD.org>2015-10-30 22:53:30 +0000
commit22eed60ca37ae4c72b6237088bf88335e7839104 (patch)
tree845def5213d1b2196ea9b453b6cfbe3911077a90 /lib/libc/stdlib/labs.c
parentb3a321592a433d57be702defd112918f9fb8af9b (diff)
downloadFreeBSD-src-22eed60ca37ae4c72b6237088bf88335e7839104.zip
FreeBSD-src-22eed60ca37ae4c72b6237088bf88335e7839104.tar.gz
arge: do a read-after-write on all arge register writes, not just MDIO writes.
This flushes out the write to the system before anything continues. The mips74k guide, chapter 3.3.3 (write gathering) notes that writes can be buffered in FIFOs - even uncached ones - so we can't guarantee the device has felt its effects. Now, since we're all lazy driver authors and don't pepper read/write barriers everywhere, fake it here. tested: * mips74k - QCA9558 SoC (AP135 reference board)
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud