summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/mpiireg.h
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2012-08-13 06:19:15 +0000
committerdlg <dlg@openbsd.org>2012-08-13 06:19:15 +0000
commit05c385e3411c25074d524c6c6afa184c7579b94a (patch)
treec1e5f301f2a4f343572809a1aa9145cf8ded74c8 /sys/dev/pci/mpiireg.h
parentdo appropriate bus_dmamapy_syncs around the pcq/completion ring. (diff)
downloadwireguard-openbsd-05c385e3411c25074d524c6c6afa184c7579b94a.tar.xz
wireguard-openbsd-05c385e3411c25074d524c6c6afa184c7579b94a.zip
get rid of the last foo_lo and foo_hi bits i could find in the hardware
structures and use htole64 instead of htole32(addr >> 32); htole32(addr); gets rid of "handy" stack variables to get the dva to 64bits. sprinkle some more byte swaps for things that should have it. tested on a perc5 (xscale)
Diffstat (limited to 'sys/dev/pci/mpiireg.h')
0 files changed, 0 insertions, 0 deletions