diff options
author | 2013-10-14 18:11:51 +1030 | |
---|---|---|
committer | 2013-10-17 10:55:37 +1030 | |
commit | 855e0c5288177bcb193f6f6316952d2490478e1c (patch) | |
tree | 7c5cfed44c9def1a7ca3388f37a9520de52af44b /usr | |
parent | virtio_config: introduce size-based accessors. (diff) | |
download | linux-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