aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorGravatar Rusty Russell <rusty@rustcorp.com.au> 2013-10-14 18:11:51 +1030
committerGravatar Rusty Russell <rusty@rustcorp.com.au> 2013-10-17 10:55:37 +1030
commit855e0c5288177bcb193f6f6316952d2490478e1c (patch)
tree7c5cfed44c9def1a7ca3388f37a9520de52af44b /usr
parentvirtio_config: introduce size-based accessors. (diff)
downloadlinux-855e0c5288177bcb193f6f6316952d2490478e1c.tar.gz
linux-855e0c5288177bcb193f6f6316952d2490478e1c.tar.bz2
linux-855e0c5288177bcb193f6f6316952d2490478e1c.zip
virtio: use size-based config accessors.
This lets the transport do endian conversion if necessary, and insulates the drivers from the difference. Most drivers can use the simple helpers virtio_cread() and virtio_cwrite(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions