]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a1f63c0fb6fd8202367de643b97fcf79090a06b
tree1de153f6062c004708bf19996da82b8b40e278a1
parent790812b206e27c9b35d95310bfb234d381ea64c2
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