Commit 6e5ceaff authored by Ryder Lee's avatar Ryder Lee Committed by Felix Fietkau

mt76: mt7915: rename debugfs tx-queues

Rename "queues" to "tx-queues" to reflect its meaning.
Signed-off-by: default avatarRyder Lee <ryder.lee@mediatek.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 776ec4e7
...@@ -379,12 +379,11 @@ mt7915_queues_read(struct seq_file *s, void *data) ...@@ -379,12 +379,11 @@ mt7915_queues_read(struct seq_file *s, void *data)
struct mt76_queue *q; struct mt76_queue *q;
char *queue; char *queue;
} queue_map[] = { } queue_map[] = {
{ dev->mphy.q_tx[MT_TXQ_BE], "WFDMA0" }, { dev->mphy.q_tx[MT_TXQ_BE], "MAIN" },
{ ext_q, "WFDMA1" }, { ext_q, "EXT" },
{ dev->mphy.q_tx[MT_TXQ_BE], "WFDMA0" },
{ dev->mt76.q_mcu[MT_MCUQ_WM], "MCUWM" }, { dev->mt76.q_mcu[MT_MCUQ_WM], "MCUWM" },
{ dev->mt76.q_mcu[MT_MCUQ_WA], "MCUWA" }, { dev->mt76.q_mcu[MT_MCUQ_WA], "MCUWA" },
{ dev->mt76.q_mcu[MT_MCUQ_FWDL], "MCUFWQ" }, { dev->mt76.q_mcu[MT_MCUQ_FWDL], "MCUFWDL" },
}; };
int i; int i;
...@@ -451,7 +450,7 @@ int mt7915_init_debugfs(struct mt7915_dev *dev) ...@@ -451,7 +450,7 @@ int mt7915_init_debugfs(struct mt7915_dev *dev)
if (!dir) if (!dir)
return -ENOMEM; return -ENOMEM;
debugfs_create_devm_seqfile(dev->mt76.dev, "queues", dir, debugfs_create_devm_seqfile(dev->mt76.dev, "tx-queues", dir,
mt7915_queues_read); mt7915_queues_read);
debugfs_create_devm_seqfile(dev->mt76.dev, "hw-queues", dir, debugfs_create_devm_seqfile(dev->mt76.dev, "hw-queues", dir,
mt7915_hw_queues_read); mt7915_hw_queues_read);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment