Skip to content

Commit 560cb3b

Browse files
shawn1221bjorn-helgaas
authored andcommitted
Documentation: PCI: Fix typos in msi-howto.rst
Fix subject-verb agreement for "has a requirements" as well as "neither...or" conjunction mistake. And convert "Message Signalled Interrupts" to "Message Signaled Interrupts" to match the PCIe spec. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Tested-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com> Link: https://patch.msgid.link/1766713528-173281-1-git-send-email-shawn.lin@rock-chips.com
1 parent 8f0b4cc commit 560cb3b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation/PCI/msi-howto.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function::
9898

9999
which allocates up to max_vecs interrupt vectors for a PCI device. It
100100
returns the number of vectors allocated or a negative error. If the device
101-
has a requirements for a minimum number of vectors the driver can pass a
101+
has a requirement for a minimum number of vectors the driver can pass a
102102
min_vecs argument set to this limit, and the PCI core will return -ENOSPC
103103
if it can't meet the minimum number of vectors.
104104

@@ -127,7 +127,7 @@ not be able to allocate as many vectors for MSI as it could for MSI-X. On
127127
some platforms, MSI interrupts must all be targeted at the same set of CPUs
128128
whereas MSI-X interrupts can all be targeted at different CPUs.
129129

130-
If a device supports neither MSI-X or MSI it will fall back to a single
130+
If a device supports neither MSI-X nor MSI it will fall back to a single
131131
legacy IRQ vector.
132132

133133
The typical usage of MSI or MSI-X interrupts is to allocate as many vectors
@@ -203,7 +203,7 @@ How to tell whether MSI/MSI-X is enabled on a device
203203
----------------------------------------------------
204204

205205
Using 'lspci -v' (as root) may show some devices with "MSI", "Message
206-
Signalled Interrupts" or "MSI-X" capabilities. Each of these capabilities
206+
Signaled Interrupts" or "MSI-X" capabilities. Each of these capabilities
207207
has an 'Enable' flag which is followed with either "+" (enabled)
208208
or "-" (disabled).
209209

0 commit comments

Comments
 (0)