eepro100: New function for reading command block
commit3d0f4b9bb5da7d999afef3bc4b434f7f504a9899
authorStefan Weil <weil@mail.berlios.de>
Tue, 2 Mar 2010 21:37:57 +0000 (2 22:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Mar 2010 11:44:20 +0000 (3 13:44 +0200)
tree402b0512d941878eb8e6f06d1e793b9b21d81a4b
parentec1d02d8de08ceda59b8a6e7a74ec1ae42a40ee6
eepro100: New function for reading command block

Move code which reads the command block to the
new function read_cb. The patch also fixes some
endianess issues related to the command block
and moves declarations of local variables to
the beginning of the block.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/eepro100.c