summaryrefslogtreecommitdiff
path: root/readline.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-12-20 16:52:22 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-19 16:31:01 -0600
commitf3a52e503bcc314642ee3b8d637c15f6bc3e470c (patch)
tree121cd10b3a73816e17a0ac54f6ba19b1843f4f37 /readline.h
parent1c39457adf220f9011cc6e08c05b272073ec3126 (diff)
downloadqemu-f3a52e503bcc314642ee3b8d637c15f6bc3e470c.tar.gz
qemu-f3a52e503bcc314642ee3b8d637c15f6bc3e470c.tar.bz2
qemu-f3a52e503bcc314642ee3b8d637c15f6bc3e470c.zip
eepro100: Restructure code (new function tx_command)
Handling of transmit commands is rather complex, so about 80 lines of code were moved from function action_command to the new function tx_command. The two new values "tx" and "cb_address" in the eepro100 status structure made this possible without passing too many parameters. In addition, the moved code was cleaned a little bit: old comments marked with //~ were removed, C++ style comments were replaced by C style comments, C++ like variable declarations after code were reordered. Simplified mode is still broken. Nor did I fix endianess issues. Both problems will be fixed in additional patches (which need this one). Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'readline.h')
0 files changed, 0 insertions, 0 deletions