net: qcom/emac: add support for emulation systems
authorTimur Tabi <[email protected]>
Fri, 23 Jun 2017 19:33:30 +0000 (14:33 -0500)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Tested-by: Adam Wallis <[email protected]>
Signed-off-by: Timur Tabi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c