remarkable-linux/drivers/virtio
Rusty Russell 72e61eb40b virtio: change config to guest endian.
A recent proposed feature addition to the virtio block driver revealed
some flaws in the API, in particular how easy it is to break big
endian machines.

The virtio config space was originally chosen to be little-endian,
because we thought the config might be part of the PCI config space
for virtio_pci.  It's actually a separate mmio region, so that
argument holds little water; as only x86 is currently using the virtio
mechanism, we can change this (but must do so now, before the
impending s390 merge).

API changes:
- __virtio_config_val() just becomes a striaght vdev->config_get() call.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2008-05-02 21:50:50 +10:00
..
config.c
Kconfig virtio: balloon driver 2008-02-04 23:50:13 +11:00
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
virtio.c virtio: Allow virtio to be modular and used by modules 2008-02-04 23:50:06 +11:00
virtio_balloon.c virtio: change config to guest endian. 2008-05-02 21:50:50 +10:00
virtio_pci.c virtio: fix sparse return void-valued expression warnings 2008-05-02 21:50:44 +10:00
virtio_ring.c virtio: ignore corrupted virtqueues rather than spinning. 2008-05-02 21:50:43 +10:00