]> git.baikalelectronics.ru Git - kernel.git/commit
Altera TSE: Add support for no PHY
authorWalter Lozano <walter@vanguardiasur.com.ar>
Fri, 3 Oct 2014 18:09:01 +0000 (15:09 -0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 01:39:40 +0000 (21:39 -0400)
commitef0298f69f738753d38b7f4bb12e3d530ccf3d15
tree792764c5fde2d532f383d133b9d0b1b045bb0d8e
parent992c949df64f979ecee1e8f8122d342be059fd9c
Altera TSE: Add support for no PHY

This patch avoids PHY and MDIO probing if no PHY chip is present.
This is the case mainly in optical links where there is no need for
PHY chip, and therefore no need of MDIO. In this scenario Ethernet
MAC is directly connected to an optical module through an external
SFP transceiver.

Signed-off-by: Walter Lozano <walter@vanguardiasur.com.ar>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/altera_tse_main.c