diff options
author | Julian Pidancet <julian.pidancet@gmail.com> | 2011-11-23 01:03:15 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-11-23 10:36:59 +0000 |
commit | 4abf12f4ea866779b493ecf4606bd0b6d35f8348 (patch) | |
tree | a09261cf14241189edd0b5d9f7b0331fce9974ed /Makefile | |
parent | e30e5eb6136aa3311dad4ca90f6546e05ae98f92 (diff) | |
download | hqemu-4abf12f4ea866779b493ecf4606bd0b6d35f8348.zip hqemu-4abf12f4ea866779b493ecf4606bd0b6d35f8348.tar.gz |
rtl8139: Fix invalid IO access alignment
This patch makes iPXE work with the rtl8139 emulation. The rtl8139
driver in iPXE issues a 16bit access on the ChipCmd register
(offset 0x37) to check the status of the rx buffer. The offset of the
ioport access was getting fixed up to 0x36 in qemu, causing the value
read in iPXE to be invalid.
This fixes an issue with iPXE reporting timeouts during TFTP transfers.
Reposting this here because it is trivial enough and the original post
on qemu-devel didn't attract much attention.
Also, the inw() which was causing the issue has been replaced with an
inb() in upstream iPXE:
https://git.ipxe.org/ipxe.git/commit/91dd64ad25baa27954a7518e73df4fca8a2d0c93
Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions