diff options
author | Timur Tabi <timur@codeaurora.org> | 2016-12-08 13:24:20 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-09 22:11:02 -0500 |
commit | 1e88ab6fbbaacbd79dd14ab9ceec7a595611248d (patch) | |
tree | 2ea604d7ae61ee4b2afffe7adfbf08c2681d6992 /drivers/net/ethernet/qualcomm/emac/emac-sgmii.h | |
parent | f006b2c5dff35cb32ee77a0cbcabb52d90118c19 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/emac/emac-sgmii.h')
-rw-r--r-- | drivers/net/ethernet/qualcomm/emac/emac-sgmii.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qualcomm/emac/emac-sgmii.h b/drivers/net/ethernet/qualcomm/emac/emac-sgmii.h index ce79212ff403..e2bef145ec48 100644 --- a/drivers/net/ethernet/qualcomm/emac/emac-sgmii.h +++ b/drivers/net/ethernet/qualcomm/emac/emac-sgmii.h @@ -16,9 +16,10 @@ struct emac_adapter; struct platform_device; -int emac_sgmii_init_v1(struct emac_adapter *adpt); -int emac_sgmii_init_v2(struct emac_adapter *adpt); int emac_sgmii_config(struct platform_device *pdev, struct emac_adapter *adpt); void emac_sgmii_reset(struct emac_adapter *adpt); +int emac_sgmii_init_fsm9900(struct emac_adapter *adpt); +int emac_sgmii_init_qdf2432(struct emac_adapter *adpt); + #endif |