aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2015-03-18 11:29:30 -0400
committerJonathan Corbet <corbet@lwn.net>2015-03-20 09:41:56 -0400
commit654d2e7cd18b8acc4e2accdcc0c1eadb8d786722 (patch)
tree0bc23762f35801de24ac0f58fdab1a461a7e1d8c
parent9ceae1da5027818b4dfd95e4a43fb52552c5fffb (diff)
doc:pci: Fix typo in Documentation/PCI
This patch fix spelling typo in Documentation/PCI. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/PCI/MSI-HOWTO.txt6
-rw-r--r--Documentation/PCI/pci-error-recovery.txt2
-rw-r--r--Documentation/PCI/pcieaer-howto.txt4
3 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/PCI/MSI-HOWTO.txt b/Documentation/PCI/MSI-HOWTO.txt
index 63def8ef546d..1179850f453c 100644
--- a/Documentation/PCI/MSI-HOWTO.txt
+++ b/Documentation/PCI/MSI-HOWTO.txt
@@ -353,7 +353,7 @@ retry:
353 rc = pci_enable_msix_range(adapter->pdev, adapter->msix_entries, 353 rc = pci_enable_msix_range(adapter->pdev, adapter->msix_entries,
354 maxvec, maxvec); 354 maxvec, maxvec);
355 /* 355 /*
356 * -ENOSPC is the only error code allowed to be analized 356 * -ENOSPC is the only error code allowed to be analyzed
357 */ 357 */
358 if (rc == -ENOSPC) { 358 if (rc == -ENOSPC) {
359 if (maxvec == 1) 359 if (maxvec == 1)
@@ -370,7 +370,7 @@ retry:
370 return rc; 370 return rc;
371} 371}
372 372
373Note how pci_enable_msix_range() return value is analized for a fallback - 373Note how pci_enable_msix_range() return value is analyzed for a fallback -
374any error code other than -ENOSPC indicates a fatal error and should not 374any error code other than -ENOSPC indicates a fatal error and should not
375be retried. 375be retried.
376 376
@@ -486,7 +486,7 @@ during development.
486If your device supports both MSI-X and MSI capabilities, you should use 486If your device supports both MSI-X and MSI capabilities, you should use
487the MSI-X facilities in preference to the MSI facilities. As mentioned 487the MSI-X facilities in preference to the MSI facilities. As mentioned
488above, MSI-X supports any number of interrupts between 1 and 2048. 488above, MSI-X supports any number of interrupts between 1 and 2048.
489In constrast, MSI is restricted to a maximum of 32 interrupts (and 489In contrast, MSI is restricted to a maximum of 32 interrupts (and
490must be a power of two). In addition, the MSI interrupt vectors must 490must be a power of two). In addition, the MSI interrupt vectors must
491be allocated consecutively, so the system might not be able to allocate 491be allocated consecutively, so the system might not be able to allocate
492as many vectors for MSI as it could for MSI-X. On some platforms, MSI 492as many vectors for MSI as it could for MSI-X. On some platforms, MSI
diff --git a/Documentation/PCI/pci-error-recovery.txt b/Documentation/PCI/pci-error-recovery.txt
index 898ded24510d..ac26869c7db4 100644
--- a/Documentation/PCI/pci-error-recovery.txt
+++ b/Documentation/PCI/pci-error-recovery.txt
@@ -256,7 +256,7 @@ STEP 4: Slot Reset
256------------------ 256------------------
257 257
258In response to a return value of PCI_ERS_RESULT_NEED_RESET, the 258In response to a return value of PCI_ERS_RESULT_NEED_RESET, the
259the platform will peform a slot reset on the requesting PCI device(s). 259the platform will perform a slot reset on the requesting PCI device(s).
260The actual steps taken by a platform to perform a slot reset 260The actual steps taken by a platform to perform a slot reset
261will be platform-dependent. Upon completion of slot reset, the 261will be platform-dependent. Upon completion of slot reset, the
262platform will call the device slot_reset() callback. 262platform will call the device slot_reset() callback.
diff --git a/Documentation/PCI/pcieaer-howto.txt b/Documentation/PCI/pcieaer-howto.txt
index 26d3d945c3c2..b4987c0bcb20 100644
--- a/Documentation/PCI/pcieaer-howto.txt
+++ b/Documentation/PCI/pcieaer-howto.txt
@@ -66,8 +66,8 @@ hardware (mostly chipsets) has root ports that cannot obtain the reporting
66source ID. nosourceid=n by default. 66source ID. nosourceid=n by default.
67 67
682.3 AER error output 682.3 AER error output
69When a PCI-E AER error is captured, an error message will be outputed to 69When a PCI-E AER error is captured, an error message will be outputted to
70console. If it's a correctable error, it is outputed as a warning. 70console. If it's a correctable error, it is outputted as a warning.
71Otherwise, it is printed as an error. So users could choose different 71Otherwise, it is printed as an error. So users could choose different
72log level to filter out correctable error messages. 72log level to filter out correctable error messages.
73 73