diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-03 04:50:49 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-02 13:50:50 +0200 |
commit | 72e61eb40b55dd57031ec5971e810649f82b0259 (patch) | |
tree | 66a836c7799b21156d4fc87f42e5817d7d95535b /drivers/bluetooth | |
parent | virtio: finer-grained features for virtio_net (diff) | |
download | linux-72e61eb40b55dd57031ec5971e810649f82b0259.tar.xz linux-72e61eb40b55dd57031ec5971e810649f82b0259.zip |
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>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions