net: qcom/emac: add support for emulation systems
authorTimur Tabi <timur@codeaurora.org>
Fri, 23 Jun 2017 19:33:30 +0000 (14:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:44:29 +0000 (11:44 -0400)
commitceef551faacb1783040d9c1a10d4baad9548f37e
tree1de153f6062c004708bf19996da82b8b40e278a1
parent867ae6abc24967188db0914de170512e36592eb3
net: qcom/emac: add support for emulation systems

On emulation systems, the EMAC's internal PHY ("SGMII") is not present,
but is not needed for network functionality.  So just display a warning
message and ignore the SGMII.

Tested-by: Philip Elcan <pelcan@codeaurora.org>
Tested-by: Adam Wallis <awallis@codeaurora.org>
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c