summaryrefslogtreecommitdiff
path: root/include/linux/pci-epf.h
diff options
context:
space:
mode:
authorVidya Sagar <vidyas@nvidia.com>2020-02-17 15:10:34 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-02-25 15:02:25 +0300
commit0ef22dcf0c1871888c4c0ee46a9d9c494f2fe997 (patch)
treea0cec71ecfb917bda530995a4ac16d6f87be4315 /include/linux/pci-epf.h
parente966f7390da935e2b5aa0b2248d2d1265f937369 (diff)
downloadlinux-0ef22dcf0c1871888c4c0ee46a9d9c494f2fe997.tar.xz
PCI: endpoint: Add notification for core init completion
Add support to send notifications to EPF from EPC once the core registers initialization is complete. Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'include/linux/pci-epf.h')
-rw-r--r--include/linux/pci-epf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pci-epf.h b/include/linux/pci-epf.h
index bcdf4f07bde7..0c628e30c582 100644
--- a/include/linux/pci-epf.h
+++ b/include/linux/pci-epf.h
@@ -15,6 +15,11 @@
struct pci_epf;
+enum pci_notify_event {
+ CORE_INIT,
+ LINK_UP,
+};
+
enum pci_barno {
BAR_0,
BAR_1,