]> git.baikalelectronics.ru Git - kernel.git/commit
net: qcom/emac: move phy init code to separate files
authorTimur Tabi <timur@codeaurora.org>
Thu, 8 Dec 2016 19:24:20 +0000 (13:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Dec 2016 03:11:02 +0000 (22:11 -0500)
commit2af8bce30cd9f1b7b4ca2f6ae1e0ed7c1c07fde4
tree2ea604d7ae61ee4b2afffe7adfbf08c2681d6992
parent0f77606575d483b9881fca10febab21ef65cbaa8
net: qcom/emac: move phy init code to separate files

The internal PHY of the EMAC differs on each SOC, and the list will
only continue to grow.  By separating the code into individual files,
we can add support for more SOCs more cleanly.

Note: The internal PHY is also sometimes called the SGMII device.

We also stop referring to the various PHY variations by version number,
so no more "v2", "v3", etc.  Instead, the devices are named after the
SOC they are, which is in sync with the device tree property names.

Future patches will probably rearrange more code among the files.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/Makefile
drivers/net/ethernet/qualcomm/emac/emac-sgmii-fsm9900.c [new file with mode: 0644]
drivers/net/ethernet/qualcomm/emac/emac-sgmii-qdf2432.c [new file with mode: 0644]
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
drivers/net/ethernet/qualcomm/emac/emac-sgmii.h