net: fec: Fix RMON registers on imx6
authorJim Baxter <jim_baxter@mentor.com>
Mon, 1 Jul 2013 13:57:54 +0000 (14:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2013 19:40:52 +0000 (12:40 -0700)
commitb9eef55c2ab33053ae236b5d383965f9ee6a0094
treefc22d73bb925e1fd4face8b9101debf3962185ca
parent7cc47d139f9a815a91bd9e7377063238c69a0423
net: fec: Fix RMON registers on imx6

commit 38ae92d "fec: Add support for reading
RMON registers" causes the imx6Q to crash.

This fixes it by only enabling the RMON registers, the
registers are already cleared by the MAC being reset.

Signed-off-by: Jim Baxter <jim_baxter@mentor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c