aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/PCI/MSI-HOWTO.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/PCI/MSI-HOWTO.txt')
-rw-r--r--Documentation/PCI/MSI-HOWTO.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/PCI/MSI-HOWTO.txt b/Documentation/PCI/MSI-HOWTO.txt
index faf37f9d29dc..1d7047a34862 100644
--- a/Documentation/PCI/MSI-HOWTO.txt
+++ b/Documentation/PCI/MSI-HOWTO.txt
@@ -137,8 +137,8 @@ interrupt number and frees the previously allocated message signaled
137interrupt(s). The interrupt may subsequently be assigned to another 137interrupt(s). The interrupt may subsequently be assigned to another
138device, so drivers should not cache the value of dev->irq. 138device, so drivers should not cache the value of dev->irq.
139 139
140A device driver must always call free_irq() on the interrupt(s) 140Before calling this function, a device driver must always call free_irq()
141for which it has called request_irq() before calling this function. 141on any interrupt for which it previously called request_irq().
142Failure to do so results in a BUG_ON(), leaving the device with 142Failure to do so results in a BUG_ON(), leaving the device with
143MSI enabled and thus leaking its vector. 143MSI enabled and thus leaking its vector.
144 144
@@ -217,8 +217,8 @@ the previously allocated message signaled interrupts. The interrupts may
217subsequently be assigned to another device, so drivers should not cache 217subsequently be assigned to another device, so drivers should not cache
218the value of the 'vector' elements over a call to pci_disable_msix(). 218the value of the 'vector' elements over a call to pci_disable_msix().
219 219
220A device driver must always call free_irq() on the interrupt(s) 220Before calling this function, a device driver must always call free_irq()
221for which it has called request_irq() before calling this function. 221on any interrupt for which it previously called request_irq().
222Failure to do so results in a BUG_ON(), leaving the device with 222Failure to do so results in a BUG_ON(), leaving the device with
223MSI-X enabled and thus leaking its vector. 223MSI-X enabled and thus leaking its vector.
224 224