From e495466c12703666440703d51870fc1e945639ad Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 11 Jun 2013 09:49:23 +0200 Subject: [PATCH] lspci: Make output of L1 PM cap consistent with other caps --- ls-ecaps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ls-ecaps.c b/ls-ecaps.c index 1a9b6c5..c6f217e 100644 --- a/ls-ecaps.c +++ b/ls-ecaps.c @@ -467,7 +467,7 @@ cap_l1pm(struct device *d, int where) l1_cap = get_conf_long(d, where + 4); printf("\t\tL1SubCap: "); - printf("PCI-PM_L1.2%c, PCI-PM_L1.1%c, ASPM_L1.2%c, ASPM_L1.1%c, L1_PM_Substates%c\n", + printf("PCI-PM_L1.2%c PCI-PM_L1.1%c ASPM_L1.2%c ASPM_L1.1%c L1_PM_Substates%c\n", FLAG(l1_cap, 1), FLAG(l1_cap, 2), FLAG(l1_cap, 4), @@ -476,7 +476,7 @@ cap_l1pm(struct device *d, int where) if (BITS(l1_cap, 0, 1) || BITS(l1_cap, 2, 1)) { - printf("\t\t\t PortCommonModeRestoreTime=%dus, ", + printf("\t\t\t PortCommonModeRestoreTime=%dus ", BITS(l1_cap, 8,8)); power_on_scale = BITS(l1_cap, 16, 2); -- 2.39.2