vio: put enqueue and dmasync into a function
authorsf <sf@openbsd.org>
Wed, 4 Sep 2024 09:12:55 +0000 (09:12 +0000)
committersf <sf@openbsd.org>
Wed, 4 Sep 2024 09:12:55 +0000 (09:12 +0000)
commit801920877129c5b07dfe5e5896b9844c9cd4d7ac
tree26c342c667eca7621db712f66e8ea3ca36b32650
parent20b23e349c48a98f799fe91da6a71952f75d8d73
vio: put enqueue and dmasync into a function

Before we enqueue with VIO_DMAMEM_ENQUEUE(), we always sync with
VIO_DMAMEM_SYNC(). In order to reduce verbosity, create a function that
does both.

ok bluhm@
sys/dev/pv/if_vio.c