mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
rt2x00: Remove MGMT ring initialization
Remove the last remnants of the MGMT ring initialization from rt61pci.ko Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
25fd893db2
commit
16938a24ae
@ -1070,7 +1070,6 @@ static int rt61pci_init_queues(struct rt2x00_dev *rt2x00dev)
|
||||
rt2x00_set_field32(®, TX_DMA_DST_CSR_DEST_AC1, 2);
|
||||
rt2x00_set_field32(®, TX_DMA_DST_CSR_DEST_AC2, 2);
|
||||
rt2x00_set_field32(®, TX_DMA_DST_CSR_DEST_AC3, 2);
|
||||
rt2x00_set_field32(®, TX_DMA_DST_CSR_DEST_MGMT, 0);
|
||||
rt2x00pci_register_write(rt2x00dev, TX_DMA_DST_CSR, reg);
|
||||
|
||||
rt2x00pci_register_read(rt2x00dev, LOAD_TX_RING_CSR, ®);
|
||||
@ -1078,7 +1077,6 @@ static int rt61pci_init_queues(struct rt2x00_dev *rt2x00dev)
|
||||
rt2x00_set_field32(®, LOAD_TX_RING_CSR_LOAD_TXD_AC1, 1);
|
||||
rt2x00_set_field32(®, LOAD_TX_RING_CSR_LOAD_TXD_AC2, 1);
|
||||
rt2x00_set_field32(®, LOAD_TX_RING_CSR_LOAD_TXD_AC3, 1);
|
||||
rt2x00_set_field32(®, LOAD_TX_RING_CSR_LOAD_TXD_MGMT, 0);
|
||||
rt2x00pci_register_write(rt2x00dev, LOAD_TX_RING_CSR, reg);
|
||||
|
||||
rt2x00pci_register_read(rt2x00dev, RX_CNTL_CSR, ®);
|
||||
|
@ -880,7 +880,7 @@ struct hw_pairwise_ta_entry {
|
||||
#define TX_CNTL_CSR_ABORT_TX_MGMT FIELD32(0x00100000)
|
||||
|
||||
/*
|
||||
* LOAD_TX_RING_CSR: Load RX de
|
||||
* LOAD_TX_RING_CSR: Load RX desriptor
|
||||
*/
|
||||
#define LOAD_TX_RING_CSR 0x3434
|
||||
#define LOAD_TX_RING_CSR_LOAD_TXD_AC0 FIELD32(0x00000001)
|
||||
|
Loading…
Reference in New Issue
Block a user