Commit 1ba21436 authored by Alastair D'Silva's avatar Alastair D'Silva Committed by Michael Ellerman

ocxl: Split pci.c

In preparation for making core code available for external drivers,
move the core code out of pci.c and into core.c
Signed-off-by: default avatarAlastair D'Silva <alastair@d-silva.org>
Acked-by: default avatarFrederic Barrat <fbarrat@linux.ibm.com>
Acked-by: default avatarAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent b696d282
......@@ -3,6 +3,7 @@ ccflags-$(CONFIG_PPC_WERROR) += -Werror
ocxl-y += main.o pci.o config.o file.o pasid.o
ocxl-y += link.o context.o afu_irq.o sysfs.o trace.o
ocxl-y += core.o
obj-$(CONFIG_OCXL) += ocxl.o
# For tracepoints to include our trace.h from tracepoint infrastructure:
......
This diff is collapsed.
......@@ -150,4 +150,9 @@ int ocxl_afu_irq_set_fd(struct ocxl_context *ctx, u64 irq_offset,
int eventfd);
u64 ocxl_afu_irq_get_addr(struct ocxl_context *ctx, u64 irq_offset);
struct ocxl_fn *init_function(struct pci_dev *dev);
void remove_function(struct ocxl_fn *fn);
int init_afu(struct pci_dev *dev, struct ocxl_fn *fn, u8 afu_idx);
void remove_afu(struct ocxl_afu *afu);
#endif /* _OCXL_INTERNAL_H_ */
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment