From: greearb@candelatech.com
To: linux-wireless@vger.kernel.org
Cc: luca@coelho.fi, Ben Greear <greearb@candelatech.com>
Subject: [PATCH 4/6] iwlwifi: Add BusName to debugfs
Date: Wed, 30 Dec 2020 16:05:21 -0800 [thread overview]
Message-ID: <20201231000523.14963-4-greearb@candelatech.com> (raw)
In-Reply-To: <20201231000523.14963-1-greearb@candelatech.com>
From: Ben Greear <greearb@candelatech.com>
This gives us an easier way to know the fwcfg
file that may be loaded per device.
Signed-off-by: Ben Greear <greearb@candelatech.com>
---
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
index 3395c4675988..eb256ad143cd 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
@@ -760,6 +760,8 @@ static ssize_t iwl_dbgfs_fw_ver_read(struct file *file, char __user *user_buf,
mvm->fwrt.trans->name);
pos += scnprintf(pos, endpos - pos, "Bus: %s\n",
mvm->fwrt.dev->bus->name);
+ pos += scnprintf(pos, endpos - pos, "BusName: %s\n",
+ dev_name(mvm->fwrt.dev));
ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
kfree(buff);
--
2.20.1
next prev parent reply other threads:[~2020-12-31 0:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-31 0:05 [PATCH 1/6] iwlwifi: Decrease firmware monitor debug area from 4MB to 512k greearb
2020-12-31 0:05 ` [PATCH 2/6] iwlwifi: Enable debug-overrides greearb
2020-12-31 9:36 ` kernel test robot
2020-12-31 0:05 ` [PATCH 3/6] iwlwifi: Allow per-device fwcfg files greearb
2020-12-31 1:19 ` Julian Calaby
2020-12-31 2:47 ` Ben Greear
2020-12-31 0:05 ` greearb [this message]
2020-12-31 0:05 ` [PATCH 5/6] iwlwifi: Make warnings unique to aid debugging greearb
2020-12-31 0:05 ` [PATCH 6/6] iwlwifi: Support configuring tx-agg limit greearb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201231000523.14963-4-greearb@candelatech.com \
--to=greearb@candelatech.com \
--cc=linux-wireless@vger.kernel.org \
--cc=luca@coelho.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).