Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5b279a11 authored by Alex Williamson's avatar Alex Williamson
Browse files

vfio-pci: Cleanup read/write functions



The read and write functions are nearly identical, combine them
and convert to a switch statement.  This also makes it easy to
narrow the scope of when we use the io/mem accessors in case new
regions are added.

Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 5641ade4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment