]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
pcnet-pci: Fix PIO word access to PROM
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 26 Sep 2011 17:01:45 +0000 (19:01 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Nov 2011 21:52:09 +0000 (16:52 -0500)
commit7ba7974197090285fdb413c6e1c41aaacd44b9c4
tree02b8f50e90e8537093acfffc05b1a6944202546d
parent488a1a5dfe9a9ba57fa6c6b6b98136ea494e0296
pcnet-pci: Fix PIO word access to PROM

Implement the various IO access widths according to the spec. This
specifically unbreaks word and dword access to the PROM area that is
mapped into IO space. It also drops redundant upper limit checks and
spurious "return void".

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pcnet-pci.c