Since this is a modern-only device, tag config space fields as having little endian-ness.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -15,8 +15,8 @@ · 14 unmodified lines | |||
| 15 | #include <linux/virtio_config.h> | 15 | #include <linux/virtio_config.h> |
| 16 | 16 | ||
| 17 | struct virtio_pmem_config { | 17 | struct virtio_pmem_config { |
| 18 | __u64 start; | 18 | __le64 start; |
| 19 | __u64 size; | 19 | __le64 size; |
| 20 | }; | 20 | }; |
| 21 | 21 | ||
| 22 | #define VIRTIO_PMEM_REQ_TYPE_FLUSH 0 | 22 | #define VIRTIO_PMEM_REQ_TYPE_FLUSH 0 |