diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-10-14 18:11:51 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-10-17 10:55:37 +1030 |
commit | 855e0c5288177bcb193f6f6316952d2490478e1c (patch) | |
tree | 7c5cfed44c9def1a7ca3388f37a9520de52af44b /include/linux/virtio_config.h | |
parent | 0b90d0622ad290b3717a13489b396af52aea9d2d (diff) | |
download | blackbird-op-linux-855e0c5288177bcb193f6f6316952d2490478e1c.tar.gz blackbird-op-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 'include/linux/virtio_config.h')
0 files changed, 0 insertions, 0 deletions