configuration space endian-ness

make it all LE and require natural width accesses

resolves VIRTIO-9

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@au1.ibm.com> (rebase)
virtqueue endian-ness

make all ring structures LE
resolves VIRTIO-9

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@au1.ibm.com>
2.4.2.3.1 Legacy Interface: Feature bits

A previous patch put the device config layout in the middle of the
legacy feature bits.  Fix up now.

Signed-off-by: Rusty Russell <rusty@au1.ibm.com>
Use le types in all non-legacy places.

Emphasize that legacy endian was different, but change all the basic types
to use le32 etc as a constant reminder.

Signed-off-by: Rusty Russell <rusty@au1.ibm.com>
Thorough endianness notes for legacy.

This is noted at the beginning of the spec, but let's make it explicit
everywhere le32 etc is used.

Signed-off-by: Rusty Russell <rusty@au1.ibm.com>
Remove __ annotations on pci.

We use le32 etc elsewhere, make it consistent.

Signed-off-by: Rusty Russell <rusty@au1.ibm.com>
CCW: Make it very clear that CCW channel commands are big-endian.

Noone is likely to get confused, but let's be explicit since the rest of
the spec is little-endian.

Signed-off-by: Rusty Russell <rusty@au1.ibm.com>