[Qemu-devel] [PATCH] eepro100: Restructure code (new function tx_command)

2009-12-12 Thread Stefan Weil
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 mov

[Qemu-devel] [PATCH] eepro100: Restructure code (new function tx_command)

2009-11-19 Thread Stefan Weil
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 mov

[Qemu-devel] [PATCH] eepro100: Restructure code

2009-10-19 Thread Stefan Weil
This patch only moves about 150 lines of code from function eepro100_cu_command to a new function action_command. A goto statement was replaced by a for loop. There are no functional changes. Nor did I change comments starting with // (they will be removed by future patches). Signed-off-by: Stef