提交 9c277d84 编写于 作者: H Huang, Xiong 提交者: David S. Miller

atl1c: remove dmar_dly_cnt and dmaw_dly_cnt

dmar_dly_cnt and dmaw_dly_cnt aren't used by hardware/driver any more.
Signed-off-by: Nxiong <xiong@qca.qualcomm.com>
Tested-by: NLiu David <dwliu@qca.qualcomm.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c08b9b2a
...@@ -382,8 +382,6 @@ struct atl1c_hw { ...@@ -382,8 +382,6 @@ struct atl1c_hw {
u16 phy_id2; u16 phy_id2;
u32 intr_mask; u32 intr_mask;
u8 dmaw_dly_cnt;
u8 dmar_dly_cnt;
u8 preamble_len; u8 preamble_len;
u16 max_frame_size; u16 max_frame_size;
......
...@@ -745,8 +745,6 @@ static int __devinit atl1c_sw_init(struct atl1c_adapter *adapter) ...@@ -745,8 +745,6 @@ static int __devinit atl1c_sw_init(struct atl1c_adapter *adapter)
hw->rfd_burst = 8; hw->rfd_burst = 8;
hw->dma_order = atl1c_dma_ord_out; hw->dma_order = atl1c_dma_ord_out;
hw->dmar_block = atl1c_dma_req_1024; hw->dmar_block = atl1c_dma_req_1024;
hw->dmar_dly_cnt = 15;
hw->dmaw_dly_cnt = 4;
if (atl1c_alloc_queues(adapter)) { if (atl1c_alloc_queues(adapter)) {
dev_err(&pdev->dev, "Unable to allocate memory for queues\n"); dev_err(&pdev->dev, "Unable to allocate memory for queues\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册