summaryrefslogtreecommitdiff
path: root/include/net/mana
diff options
context:
space:
mode:
authorManish Awasthi <mawasthi@linux.microsoft.com>2026-09-24 17:30:53 +0000
committerJakub Kicinski <kuba@kernel.org>2026-09-30 17:58:55 -0700
commit445927de07cdee3ffa58cb00a17e8c2a682f3a1b (patch)
tree7662caa1e7296760d6fcceafce62333747d6fd9b /include/net/mana
parent34520ae5dd5756849849776c097871f4a589c622 (diff)
net: mana: Build the PCI transport as a separate module
Build the shared GDMA and Ethernet code as gdma_core.ko, selected by MICROSOFT_GDMA_CORE. Build the PCI transport separately as mana.ko and export the required core symbols. Preserve the PCI module name, device table, and mana.eth/mana.rdma auxiliary-device names. Each transport registers its own bus driver. Signed-off-by: Manish Awasthi <mawasthi@linux.microsoft.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Link: https://patch.msgid.link/20260924173054.589291-4-mawasthi@linux.microsoft.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/mana')
-rw-r--r--include/net/mana/gdma.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/mana/gdma.h b/include/net/mana/gdma.h
index 238ff8b9f067..cdec5558304f 100644
--- a/include/net/mana/gdma.h
+++ b/include/net/mana/gdma.h
@@ -1175,7 +1175,4 @@ int mana_gd_query_device_cfg(struct gdma_context *gc, u32 proto_major_ver,
u16 *max_num_vports, u8 *bm_hostmode);
int mana_gd_dev_reset(struct gdma_context *gc);
-int mana_pci_driver_register(void);
-void mana_pci_driver_unregister(void);
-
#endif /* _GDMA_H */