* [PATCH] ntb: fix sysfs display of usd vs dsd
@ 2014-08-14 18:01 Dave Jiang
0 siblings, 0 replies; only message in thread
From: Dave Jiang @ 2014-08-14 18:01 UTC (permalink / raw)
To: jdmason; +Cc: linux-kernel
The sysfs display is opposite of the discovery printout and what the BIOS
has configured.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
---
drivers/ntb/ntb_hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c
index db0fe8a..ce6680a 100644
--- a/drivers/ntb/ntb_hw.c
+++ b/drivers/ntb/ntb_hw.c
@@ -1369,7 +1369,7 @@ static ssize_t ntb_debugfs_read(struct file *filp, char __user *ubuf,
offset += snprintf(buf + offset, out_count - offset,
"Device Type - \t\t\t%s\n",
ndev->dev_type == NTB_DEV_USD ?
- "DSD/USP" : "USD/DSP");
+ "USD/DSP" : "DSD/USP");
offset += snprintf(buf + offset, out_count - offset,
"Max Number of Callbacks - \t%u\n",
ntb_max_cbs(ndev));
--
1.9.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-14 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-14 18:01 [PATCH] ntb: fix sysfs display of usd vs dsd Dave Jiang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®