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