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>
This commit is contained in:
parent
9ceae1da50
commit
654d2e7cd1
@ -353,7 +353,7 @@ retry:
|
|||||||
rc = pci_enable_msix_range(adapter->pdev, adapter->msix_entries,
|
rc = pci_enable_msix_range(adapter->pdev, adapter->msix_entries,
|
||||||
maxvec, maxvec);
|
maxvec, maxvec);
|
||||||
/*
|
/*
|
||||||
* -ENOSPC is the only error code allowed to be analized
|
* -ENOSPC is the only error code allowed to be analyzed
|
||||||
*/
|
*/
|
||||||
if (rc == -ENOSPC) {
|
if (rc == -ENOSPC) {
|
||||||
if (maxvec == 1)
|
if (maxvec == 1)
|
||||||
@ -370,7 +370,7 @@ retry:
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
Note how pci_enable_msix_range() return value is analized for a fallback -
|
Note how pci_enable_msix_range() return value is analyzed for a fallback -
|
||||||
any error code other than -ENOSPC indicates a fatal error and should not
|
any error code other than -ENOSPC indicates a fatal error and should not
|
||||||
be retried.
|
be retried.
|
||||||
|
|
||||||
@ -486,7 +486,7 @@ during development.
|
|||||||
If your device supports both MSI-X and MSI capabilities, you should use
|
If your device supports both MSI-X and MSI capabilities, you should use
|
||||||
the MSI-X facilities in preference to the MSI facilities. As mentioned
|
the MSI-X facilities in preference to the MSI facilities. As mentioned
|
||||||
above, MSI-X supports any number of interrupts between 1 and 2048.
|
above, MSI-X supports any number of interrupts between 1 and 2048.
|
||||||
In constrast, MSI is restricted to a maximum of 32 interrupts (and
|
In contrast, MSI is restricted to a maximum of 32 interrupts (and
|
||||||
must be a power of two). In addition, the MSI interrupt vectors must
|
must be a power of two). In addition, the MSI interrupt vectors must
|
||||||
be allocated consecutively, so the system might not be able to allocate
|
be allocated consecutively, so the system might not be able to allocate
|
||||||
as many vectors for MSI as it could for MSI-X. On some platforms, MSI
|
as many vectors for MSI as it could for MSI-X. On some platforms, MSI
|
||||||
|
@ -256,7 +256,7 @@ STEP 4: Slot Reset
|
|||||||
------------------
|
------------------
|
||||||
|
|
||||||
In response to a return value of PCI_ERS_RESULT_NEED_RESET, the
|
In response to a return value of PCI_ERS_RESULT_NEED_RESET, the
|
||||||
the platform will peform a slot reset on the requesting PCI device(s).
|
the platform will perform a slot reset on the requesting PCI device(s).
|
||||||
The actual steps taken by a platform to perform a slot reset
|
The actual steps taken by a platform to perform a slot reset
|
||||||
will be platform-dependent. Upon completion of slot reset, the
|
will be platform-dependent. Upon completion of slot reset, the
|
||||||
platform will call the device slot_reset() callback.
|
platform will call the device slot_reset() callback.
|
||||||
|
@ -66,8 +66,8 @@ hardware (mostly chipsets) has root ports that cannot obtain the reporting
|
|||||||
source ID. nosourceid=n by default.
|
source ID. nosourceid=n by default.
|
||||||
|
|
||||||
2.3 AER error output
|
2.3 AER error output
|
||||||
When a PCI-E AER error is captured, an error message will be outputed to
|
When a PCI-E AER error is captured, an error message will be outputted to
|
||||||
console. If it's a correctable error, it is outputed as a warning.
|
console. If it's a correctable error, it is outputted as a warning.
|
||||||
Otherwise, it is printed as an error. So users could choose different
|
Otherwise, it is printed as an error. So users could choose different
|
||||||
log level to filter out correctable error messages.
|
log level to filter out correctable error messages.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user