qtnfmac: modify debugfs to support multiple cards
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Tue, 9 Apr 2019 07:35:12 +0000 (07:35 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Apr 2019 11:53:13 +0000 (14:53 +0300)
commit0b68fe10b8e8c1a31c23c58d32e60637fb486b1e
tree92fae929d711380f8fe569b626b7006d22c2d2aa
parent888f1564a27206c5e6473bce31b1cd7118a6ed41
qtnfmac: modify debugfs to support multiple cards

This patch modifies location of debugfs entries and their naming
conventions to support multiple wireless cards on pcie host.
Selected approach is to use separate directories for different
wireless cards in top-level qtnfmac debugfs directory.

Here is an example that clarifies the chosen naming conventions:

 $ sudo ls /sys/kernel/debug/qtnfmac/
   qtnfmac_pcie:0000:01:00.0

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/core.c
drivers/net/wireless/quantenna/qtnfmac/core.h
drivers/net/wireless/quantenna/qtnfmac/debug.c