diff options
author | Burt P <pburt0@gmail.com> | 2020-01-02 13:41:05 -0600 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2020-01-03 09:31:10 -0800 |
commit | 6effd2ec488cf346ebc5bf219fb7555ebfbfcc2f (patch) | |
tree | 3acb6b83f4e06cead9056f0de221edbd9b8ce9f4 /modules | |
parent | fb5e67746f5eccd07293411ff09a1120c4dcd00b (diff) |
storage: show PCI address for nvme
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/devices/storage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/devices/storage.c b/modules/devices/storage.c index aef282f5..4272430d 100644 --- a/modules/devices/storage.c +++ b/modules/devices/storage.c @@ -61,9 +61,11 @@ gchar *nvme_pci_sections(pcid *p) { gchar *pcie_str; if (p->pcie_width_curr) { pcie_str = g_strdup_printf("[%s]\n" + /* Addy */ "%s=PCI/%s\n" /* Width (max) */ "%s=x%u\n" /* Speed (max) */ "%s=%0.1f %s\n", _("PCI Express"), + _("Location"), p->slot_str, _("Maximum Link Width"), p->pcie_width_max, _("Maximum Link Speed"), p->pcie_speed_max, _("GT/s") ); } else |