net: xilinx_ethlite: Don't reset from init
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Thu, 29 May 2014 09:23:54 +0000 (02:23 -0700)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sun, 8 Jun 2014 22:33:03 +0000 (00:33 +0200)
commit8c6d96728d54891b1d6f7a4183e1a657be68be36
tree5af1a996b098d12c365599bd666ee110e94caf22
parent04bb4d86f116b07cede742bee534b002735829d6
net: xilinx_ethlite: Don't reset from init

This zeroing-out of the rxbuf variable (ping pong state) is a reset
side effect. Extract into a proper reset.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/net/xilinx_ethlite.c