memory: crack wide ioport accesses into smaller ones when needed
commit3a130f4ef07f4532500473aeab43c86a3c2991c8
authorAvi Kivity <avi@redhat.com>
Thu, 11 Aug 2011 07:40:26 +0000 (11 10:40 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Sun, 21 Aug 2011 23:27:33 +0000 (21 18:27 -0500)
treed79758caafc58a68c4b3a3c1bb882eca7553d6f6
parent164a4dcd8d90a0db5ffa2174f693195744374418
memory: crack wide ioport accesses into smaller ones when needed

The memory API supports cracking wide accesses into narrower ones
when needed; but this was no implemented for the pio address space,
causing lsi53c895a's IO BAR to malfunction.

Fix by correctly cracking wide accesses when needed.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
memory.c