From 445927de07cdee3ffa58cb00a17e8c2a682f3a1b Mon Sep 17 00:00:00 2001 From: Manish Awasthi Date: Thu, 24 Sep 2026 17:30:53 +0000 Subject: 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 Reviewed-by: Simon Horman Reviewed-by: Haiyang Zhang Link: https://patch.msgid.link/20260924173054.589291-4-mawasthi@linux.microsoft.com Signed-off-by: Jakub Kicinski --- include/net/mana/gdma.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3