@@ -30,9 +30,9 @@
ccflags-y := -DXENIAL_BPO
-obj-$(CONFIG_I40E) += i40e.o
+obj-$(CONFIG_I40E_BPO) += i40e_bpo.o
-i40e-objs := i40e_main.o \
+i40e_bpo-objs := i40e_main.o \
i40e_ethtool.o \
i40e_adminq.o \
i40e_common.o \
@@ -45,7 +45,7 @@ i40e-objs := i40e_main.o \
i40e_ptp.o \
i40e_virtchnl_pf.o
-i40e-$(CONFIG_I40E_DCB) += i40e_dcb.o i40e_dcb_nl.o
-i40e-$(CONFIG_I40E_FCOE) += i40e_fcoe.o
+i40e_bpo-$(CONFIG_I40E_BPO_DCB) += i40e_dcb.o i40e_dcb_nl.o
+i40e_bpo-$(CONFIG_I40E_BPO_FCOE) += i40e_fcoe.o
-i40e-y += kcompat.o
+i40e_bpo-y += kcompat.o
@@ -38,9 +38,9 @@
#include <net/geneve.h>
#endif
-const char i40e_driver_name[] = "i40e";
+const char i40e_driver_name[] = "i40e_bpo";
static const char i40e_driver_string[] =
- "Intel(R) Ethernet Connection XL710 Network Driver";
+ "Intel(R) Ethernet Connection XL710 Network Driver (bpo)";
#define DRV_KERN "-k"
@@ -74,7 +74,7 @@ struct i40e_virt_mem {
#define i40e_debug(h, m, s, ...) \
do { \
if (((m) & (h)->debug_mask)) \
- pr_info("i40e %02x.%x " s, \
+ pr_info("i40e_bpo %02x.%x " s, \
(h)->bus.device, (h)->bus.func, \
##__VA_ARGS__); \
} while (0)
BugLink: https://bugs.launchpad.net/bugs/1789215 To prevent a name space collision with the in-tree i40e driver. Signed-off-by: Juerg Haefliger <juergh@canonical.com> --- ubuntu/i40e/Makefile | 10 +++++----- ubuntu/i40e/i40e_main.c | 4 ++-- ubuntu/i40e/i40e_osdep.h | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-)