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)
commit7a399e3a2e05bc580a78ea72371b3896827f72e1
tree32a7733f73cdeec7b90fd29b725134e48787ccdf
parent84602761ca4495dd409be936dfa93ed20c946684
fec: Do not assume that PHY reset is active low

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