summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2019-05-30 22:03:14 +0000
committerkettenis <kettenis@openbsd.org>2019-05-30 22:03:14 +0000
commit912ed164483036b004d13acaa49c0b8e29cc2459 (patch)
tree64d2f81ed3cf7ee4aacc11218c2df35da0e19436 /sys/kern/kern_resource.c
parentFix definitions of PCI_MSIX_MAU32 and add a define for the MSI-X function (diff)
downloadwireguard-openbsd-912ed164483036b004d13acaa49c0b8e29cc2459.tar.xz
wireguard-openbsd-912ed164483036b004d13acaa49c0b8e29cc2459.zip
Use two 32-bit writes instead of a single 64-bit write to write the
message address into an MSI-X table entry. The RTL8168/RTL8111 hardware does not respond to 64-bit access (reads return all-ones, writes are ignored) and the PCI specification documents separate 32-bit "DWORD" fields for message address and message upper address. ok mlarkin@, jmatthew@
Diffstat (limited to 'sys/kern/kern_resource.c')
0 files changed, 0 insertions, 0 deletions