]> mj.ucw.cz Git - pciutils.git/commitdiff
Fix spelling of MSI.
authorMartin Mares <mj@ucw.cz>
Sun, 9 Nov 2008 19:40:08 +0000 (20:40 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 9 Nov 2008 19:40:08 +0000 (20:40 +0100)
Change the spelling of 'Signalled' to 'Signaled' to match the PCI spec.
Report the capability as 'MSI' instead of either 'Message Signaled
Interrupts' to fit better with MSI-X and bring the width of this line
below 80 columns.

Inspired-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
lib/header.h
lspci.c
tests/cap-pcie-1
tests/cap-pcie-2

index 28c866efc390b6a21fabbec32c9b3adeb5851acd..aa163a0a5ebbcd1096f75b246750cc72199e3bbd 100644 (file)
 #define  PCI_CAP_ID_AGP                0x02    /* Accelerated Graphics Port */
 #define  PCI_CAP_ID_VPD                0x03    /* Vital Product Data */
 #define  PCI_CAP_ID_SLOTID     0x04    /* Slot Identification */
-#define  PCI_CAP_ID_MSI                0x05    /* Message Signalled Interrupts */
+#define  PCI_CAP_ID_MSI                0x05    /* Message Signaled Interrupts */
 #define  PCI_CAP_ID_CHSWP      0x06    /* CompactPCI HotSwap */
 #define  PCI_CAP_ID_PCIX        0x07    /* PCI-X */
 #define  PCI_CAP_ID_HT          0x08    /* HyperTransport */
 #define  PCI_SID_ESR_FIC       0x20    /* First In Chassis Flag */
 #define PCI_SID_CHASSIS_NR     3       /* Chassis Number */
 
-/* Message Signalled Interrupts registers */
+/* Message Signaled Interrupts registers */
 
 #define PCI_MSI_FLAGS          2       /* Various flags */
 #define  PCI_MSI_FLAGS_MASK_BIT        0x100   /* interrupt masking & reporting supported */
diff --git a/lspci.c b/lspci.c
index 5254b752f4c3f8cc0b2430528aa61eadd0446ab6..38042e52ac82c1886c582ed1525aed0ca0ab8850 100644 (file)
--- a/lspci.c
+++ b/lspci.c
@@ -922,7 +922,7 @@ cap_msi(struct device *d, int where, int cap)
   u32 t;
   u16 w;
 
-  printf("Message Signalled Interrupts: Mask%c 64bit%c Count=%d/%d Enable%c\n",
+  printf("MSI: Mask%c 64bit%c Count=%d/%d Enable%c\n",
          FLAG(cap, PCI_MSI_FLAGS_MASK_BIT),
         FLAG(cap, PCI_MSI_FLAGS_64BIT),
         1 << ((cap & PCI_MSI_FLAGS_QSIZE) >> 4),
index 102758802a60808e72ee4c243c7b03225a3d28e1..f9621a026312454b167c7fccb1c13ac85513ef55 100644 (file)
@@ -10,7 +10,7 @@
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Subsystem: Device 8086:0000
-       Capabilities: [60] Message Signalled Interrupts: Mask+ 64bit- Queue=0/1 Enable+
+       Capabilities: [60] MSI: Mask+ 64bit- Count=1/2 Enable+
                Address: fee00000  Data: 40b0
                Masking: 00000003  Pending: 00000000
        Capabilities: [90] Express (v2) Root Port (Slot-), MSI 00
index 03a7ff71da2adf49747993bc69a64c4201d1dc26..5221bd060f911f2cd83531e31b8c79601c8ade57 100644 (file)
@@ -11,7 +11,7 @@
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
-       Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0 Enable-
+       Capabilities: [50] MSI: Mask+ 64bit+ Count=0/1 Enable-
                Address: 0000000000000000  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [70] MSI-X: Enable+ Mask- TabSize=10