diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2012-04-25 16:27:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-26 05:03:32 -0400 |
commit | 7c6c44f064adf11628c8815cab02f3bdf95ef8bc (patch) | |
tree | 85e77fe58d603242dea573e395eae06851205ba0 /drivers/net/ethernet/atheros | |
parent | 7737fd96450236accb4856916366240a96de97be (diff) |
atl1c: remove PHY polling from atl1c_open
PHY polling code for FPGA is considered in every MDIO R/W API.
no need to add additional code to atl1c_open.
Signed-off-by: xiong <xiong@qca.qualcomm.com>
Tested-by: Liu David <dwliu@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index cf78287d0e5a..8a1d2f90eb1a 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c | |||
@@ -2273,13 +2273,6 @@ static int atl1c_open(struct net_device *netdev) | |||
2273 | if (unlikely(err)) | 2273 | if (unlikely(err)) |
2274 | goto err_up; | 2274 | goto err_up; |
2275 | 2275 | ||
2276 | if (adapter->hw.ctrl_flags & ATL1C_FPGA_VERSION) { | ||
2277 | u32 phy_data; | ||
2278 | |||
2279 | AT_READ_REG(&adapter->hw, REG_MDIO_CTRL, &phy_data); | ||
2280 | phy_data |= MDIO_CTRL_AP_EN; | ||
2281 | AT_WRITE_REG(&adapter->hw, REG_MDIO_CTRL, phy_data); | ||
2282 | } | ||
2283 | return 0; | 2276 | return 0; |
2284 | 2277 | ||
2285 | err_up: | 2278 | err_up: |