]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb33d249f925b9591ab9d4a22e2acc40cd492840
tree32a7733f73cdeec7b90fd29b725134e48787ccdf
parente364307a3ed40c6bf7244aeb2b8f5de07fe7d6c8
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