diff options
author | Iyappan Subramanian <isubramanian@apm.com> | 2016-07-25 17:12:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-25 21:51:43 -0700 |
commit | 8089a96f601bdfe3e1b41d14bb703aafaf1b8f34 (patch) | |
tree | 011836d4b8f2aa75fa76dba49383a88b6d3d690e /drivers/iio/pressure | |
parent | 43b3cf6634a4ae2eac3b6f08019db8f19a114811 (diff) |
drivers: net: xgene: Add backward compatibility
This patch adds xgene_enet_check_phy_hanlde() function that checks whether
MDIO driver is probed successfully and sets pdata->mdio_driver to true.
If MDIO driver is not probed, ethernet driver falls back to backward
compatibility mode.
Since enum xgene_enet_cmd is used by MDIO driver, removing this from
ethernet driver.
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Tested-by: Fushen Chen <fchen@apm.com>
Tested-by: Toan Le <toanle@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions