OSDN Git Service

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)
commit3354313e504ab51d620388fb230e17cd9097388c
tree792764c5fde2d532f383d133b9d0b1b045bb0d8e
parent004fa11861f89c54c8839119a99e87b6164dcc2c
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