Skip to content

Commit 96447ed

Browse files
tq-steinabjorn-helgaas
authored andcommitted
Documentation: PCI: pci-endpoint: Fix EPF ops list
With commit 5779dd0 ("PCI: endpoint: Use notification chain mechanism to notify EPC events to EPF") the linkup callback has been removed and replaced by EPC event notifications. With commit 256ae47 ("PCI: endpoint: Add pci_epf_ops to expose function-specific attrs") a new (optional) add_cfs callback was added. Update documentation accordingly. Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Alexander Stein <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Niklas Cassel <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
1 parent 1ae27da commit 96447ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/PCI/endpoint/pci-endpoint.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ by the PCI endpoint function driver.
172172
* bind: ops to perform when a EPC device has been bound to EPF device
173173
* unbind: ops to perform when a binding has been lost between a EPC
174174
device and EPF device
175-
* linkup: ops to perform when the EPC device has established a
176-
connection with a host system
175+
* add_cfs: optional ops to create function specific configfs
176+
attributes
177177

178178
The PCI Function driver can then register the PCI EPF driver by using
179179
pci_epf_register_driver().

0 commit comments

Comments
 (0)