diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2012-04-25 20:27:09 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-26 09:03:32 (GMT) |
commit | 8f33ab913456654b2bfc75b90893dce9561cab9a (patch) | |
tree | 9554718df6abba1202d1b6bb37d9c808f850636f /drivers/net/ethernet/atheros/atl1c/atl1c_main.c | |
parent | c165541efc4d1024d7db22ecdf64359b1f6107fc (diff) | |
download | linux-fsl-qoriq-8f33ab913456654b2bfc75b90893dce9561cab9a.tar.xz |
atl1c: remove REG_PHY_STATUS
this register is used for l1e(dev=1026)
l1c/l1d/l2cb don't use it.
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/atl1c/atl1c_main.c')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index df10637..a6c3f05 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -699,11 +699,9 @@ static void atl1c_set_mac_type(struct atl1c_hw *hw) static int atl1c_setup_mac_funcs(struct atl1c_hw *hw) { - u32 phy_status_data; u32 link_ctrl_data; atl1c_set_mac_type(hw); - AT_READ_REG(hw, REG_PHY_STATUS, &phy_status_data); AT_READ_REG(hw, REG_LINK_CTRL, &link_ctrl_data); hw->ctrl_flags = ATL1C_INTR_MODRT_ENABLE | |