]> 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)
commitd8005718327d2bea2197166829ce43403c760146
tree1de153f6062c004708bf19996da82b8b40e278a1
parentc6b7a8bed589b125c8459d7cc9817193fbe8e2e2
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