fec: Do not assume that PHY reset is active low
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 24 Dec 2013 14:16:01 +0000 (12:16 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Dec 2013 03:27:00 +0000 (22:27 -0500)
We should not assume that the PHY reset is always active low.

Retrieve this information from the device tree instead, so that the PHY reset
can work on both cases.

Reported-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c