summaryrefslogtreecommitdiffstats
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I2017-04-10 15:55:10 +0200
committerBjorn Helgaas2017-04-11 21:18:35 +0200
commit5e8cb4033807e39849b753e5399ec130c0995f1f (patch)
treec2d924acfd79187ad4066f075998c3b21890d109 /include/linux/mod_devicetable.h
parentPCI: dwc: dra7xx: Push request_irq() call to the bottom of probe (diff)
downloadkernel-qcow2-linux-5e8cb4033807e39849b753e5399ec130c0995f1f.tar.gz
kernel-qcow2-linux-5e8cb4033807e39849b753e5399ec130c0995f1f.tar.xz
kernel-qcow2-linux-5e8cb4033807e39849b753e5399ec130c0995f1f.zip
PCI: endpoint: Add EP core layer to enable EP controller and EP functions
Introduce a new EP core layer in order to support endpoint functions in linux kernel. This comprises the EPC library (Endpoint Controller Library) and EPF library (Endpoint Function Library). EPC library implements functions specific to an endpoint controller and EPF library implements functions specific to an endpoint function. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Joao Pinto <jpinto@synopsys.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r--include/linux/mod_devicetable.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 8850fcaf50db..566fda587fcf 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -428,6 +428,16 @@ struct i2c_device_id {
kernel_ulong_t driver_data; /* Data private to the driver */
};
+/* pci_epf */
+
+#define PCI_EPF_NAME_SIZE 20
+#define PCI_EPF_MODULE_PREFIX "pci_epf:"
+
+struct pci_epf_device_id {
+ char name[PCI_EPF_NAME_SIZE];
+ kernel_ulong_t driver_data;
+};
+
/* spi */
#define SPI_NAME_SIZE 32