Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • vfio
  • pci
  • vfio_pci.c
Find file BlameHistoryPermalink
  • Alex Williamson's avatar
    vfio-pci: Cleanup read/write functions · 5b279a11
    Alex Williamson authored Feb 14, 2013
    
    
    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>
    5b279a11