diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2012-04-17 19:32:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-18 15:35:31 -0400 |
commit | 027392c2d6fe4960eb41fad2baf77c4df651a9cb (patch) | |
tree | f006e90f690d1cfdbfde3737bff0bd9120b5b685 /drivers/net/ethernet/atheros/atl1c/atl1c_main.c | |
parent | 0af48336704e5b3870e03699b3acf5dd7d7cb8ab (diff) | |
download | lwn-027392c2d6fe4960eb41fad2baf77c4df651a9cb.tar.gz lwn-027392c2d6fe4960eb41fad2baf77c4df651a9cb.zip |
atl1c: remove code related to rxq 1/2/3
remove code related to rxq 1/2/3 since multi-q not support.
refine REG_RXQ_CTRL definition as well.
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 74203ea9ae18..00c8bd1c791d 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -1137,8 +1137,7 @@ static int atl1c_stop_mac(struct atl1c_hw *hw) u32 data; AT_READ_REG(hw, REG_RXQ_CTRL, &data); - data &= ~(RXQ1_CTRL_EN | RXQ2_CTRL_EN | - RXQ3_CTRL_EN | RXQ_CTRL_EN); + data &= ~RXQ_CTRL_EN; AT_WRITE_REG(hw, REG_RXQ_CTRL, data); AT_READ_REG(hw, REG_TXQ_CTRL, &data); |