i.MX: reset TX/RX descriptors when FEC is disabled.
commitff4b325f5e1d68cd089e71edcaa3fe3432ca18dc
authorJean-Christophe Dubois <jcd@tribudubois.net>
Mon, 30 May 2016 17:26:00 +0000 (30 19:26 +0200)
committerJason Wang <jasowang@redhat.com>
Thu, 2 Jun 2016 02:42:46 +0000 (2 10:42 +0800)
tree59a956e44e7a44f95a80704cda43d1e6f28fc872
parentccdb81d3274d281d770703417257bd40bcdf4c0e
i.MX: reset TX/RX descriptors when FEC is disabled.

According to the FEC chapter of i.MX25 reference manual

RX adn TX descriptors are reseted when the FEC device is disabled through ECR.

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/imx_fec.c