]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
Cosmetic cleanups of the previous commit
authorMartin Mares <mj@ucw.cz>
Mon, 31 Dec 2018 14:15:09 +0000 (15:15 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 31 Dec 2018 14:15:09 +0000 (15:15 +0100)
lib/header.h
ls-ecaps.c

index 6ca93fedacb3cd49300e4d06e7ef2b819bb24775..ddc1e9438aca2332736956a3d132b2893d664444 100644 (file)
 #define PCI_LTR_MAX_NOSNOOP    6       /* 16 bit value */
 
 /* Secondary PCI Express Extended Capability */
-#define PCI_SEC_LNKCTL3     4    /* Link Control 3 register*/
-#define  PCI_SEC_LNKCTL3_PERFORM_LINK_EQU       0x01
-#define  PCI_SEC_LNKCTL3_LNK_EQU_REQ_INTR_EN    0x02
-#define  PCI_SEC_LNKCTL3_ENBL_LOWER_SKP_OS_GEN_VEC(x)  ((x >> 8) & 0x7F)
-#define PCI_SEC_LANE_ERR    8   /* Lane Error status register */
-#define PCI_SEC_LANE_EQU_CTRL 12   /* Lane Equalization contol register */
+#define PCI_SEC_LNKCTL3                4       /* Link Control 3 register */
+#define  PCI_SEC_LNKCTL3_PERFORM_LINK_EQU      0x01
+#define  PCI_SEC_LNKCTL3_LNK_EQU_REQ_INTR_EN   0x02
+#define  PCI_SEC_LNKCTL3_ENBL_LOWER_SKP_OS_GEN_VEC(x) ((x >> 8) & 0x7F)
+#define PCI_SEC_LANE_ERR       8       /* Lane Error status register */
+#define PCI_SEC_LANE_EQU_CTRL  12      /* Lane Equalization control register */
 
 /* Process Address Space ID */
 #define PCI_PASID_CAP          0x04    /* PASID feature register */
index a26ea035d505a3f058bff1739c00654460d16e0d..db99ed0098d7bc5b2206fabffbeedbbdc1bc15f5 100644 (file)
@@ -97,7 +97,7 @@ cap_sec(struct device *d, int where, int type)
   printf("\t\tLaneErrStat: ");
   if (lane_err_stat)
     {
-      printf("LaneErr at Lane:");
+      printf("LaneErr at lane:");
       for (lane = 0; lane_err_stat; lane_err_stat >>= 1, lane += 1)
         if (BITS(lane_err_stat, 0, 1))
           printf(" %u", lane);