]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ide/mmio.c
IDE: MMIO IDE device control should be little endian
authorValentin Manea <valentin.manea@gmail.com>
Sun, 31 Aug 2014 08:32:08 +0000 (11:32 +0300)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Sep 2014 08:41:29 +0000 (10:41 +0200)
commit1a7044bb62ca490b8742ac17d40bb774b7a9048e
tree10787d5429bfbfdcf5690c93309a2620f43975cc
parenta31e69cf007dd2e7f6912b7839de1ebd1a41d091
IDE: MMIO IDE device control should be little endian

Set the IDE MMIO memory type to little endian. The ATA specs identify
words part of the control commands encoded as little endian.
While this has no impact on little endian systems, it's required for big
endian systems(eg OpenRisc).

Signed-off-by: Valentin Manea <valentin.manea@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/mmio.c