Skip to content

Commit 8a608da

Browse files
damien-lemoalLorenzo Pieralisi
authored andcommitted
PCI: endpoint: Use INTX instead of legacy
In the endpoint controller core code, change references to "legacy" interrupts to "INTX" interrupts to match the term used in the PCI specifications. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
1 parent 74955cb commit 8a608da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pci/endpoint/pci-epc-core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ EXPORT_SYMBOL_GPL(pci_epc_start);
211211
* @epc: the EPC device which has to interrupt the host
212212
* @func_no: the physical endpoint function number in the EPC device
213213
* @vfunc_no: the virtual endpoint function number in the physical function
214-
* @type: specify the type of interrupt; legacy, MSI or MSI-X
214+
* @type: specify the type of interrupt; INTX, MSI or MSI-X
215215
* @interrupt_num: the MSI or MSI-X interrupt number with range (1-N)
216216
*
217-
* Invoke to raise an legacy, MSI or MSI-X interrupt
217+
* Invoke to raise an INTX, MSI or MSI-X interrupt
218218
*/
219219
int pci_epc_raise_irq(struct pci_epc *epc, u8 func_no, u8 vfunc_no,
220220
unsigned int type, u16 interrupt_num)

0 commit comments

Comments
 (0)