OSDN Git Service

Fix eepro100 simple transmission mode
authorMike Nawrocki <michael.nawrocki@gtri.gatech.edu>
Tue, 7 Nov 2017 18:35:02 +0000 (13:35 -0500)
committerJason Wang <jasowang@redhat.com>
Mon, 13 Nov 2017 07:46:58 +0000 (15:46 +0800)
commit1865e288a823c764cd4344d704e33344595152b8
treebbf03cc491e2dbad1998a68049f8b22512049788
parent8fa5ad6dfb66b6c695aa6a6b54b7031c90345a37
Fix eepro100 simple transmission mode

The simple transmission mode was treating the area immediately after the
transmit command block (TCB) as if it were a transmit buffer descriptor,
when in reality it is simply the packet data. This change simply copies
the data following the TCB into the packet buffer.

Signed-off-by: Mike Nawrocki <michael.nawrocki@gtri.gatech.edu>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/eepro100.c