mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
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>
This commit is contained in:
parent
d4c7d1a089
commit
5e8cb40338
10 changed files with 1415 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue