[PATCH v2] net: ethernet: cavium: Correct Cavium Thunderx nicvf/nicpf modules names

Vadim Lomovtsev Vadim.Lomovtsev at caviumnetworks.com
Thu Jan 18 07:53:09 PST 2018


From: Vadim Lomovtsev <Vadim.Lomovtsev at cavium.com>

It was found that ethtool provides unexisting module name while
it queries the specified network device for associated driver
information.

This patch is to correct Cavium CN88xx Thunder nicvf/nicpf modules
names 'nicvf' to 'thunder_nicvf' and 'nicpf' to 'thunder_nicpf'.

Signed-off-by: Dean Nelson <dnelson at redhat.com>
Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev at cavium.com>
---
 drivers/net/ethernet/cavium/thunder/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/ethernet/cavium/thunder/Makefile b/drivers/net/ethernet/cavium/thunder/Makefile
index 6b4d4add7353..f5642337d0fe 100644
--- a/drivers/net/ethernet/cavium/thunder/Makefile
+++ b/drivers/net/ethernet/cavium/thunder/Makefile
@@ -4,9 +4,9 @@
 
 obj-$(CONFIG_THUNDER_NIC_RGX) += thunder_xcv.o
 obj-$(CONFIG_THUNDER_NIC_BGX) += thunder_bgx.o
-obj-$(CONFIG_THUNDER_NIC_PF) += nicpf.o
-obj-$(CONFIG_THUNDER_NIC_VF) += nicvf.o
+obj-$(CONFIG_THUNDER_NIC_PF) += thunder_nicpf.o
+obj-$(CONFIG_THUNDER_NIC_VF) += thunder_nicvf.o
 
-nicpf-y := nic_main.o
-nicvf-y := nicvf_main.o nicvf_queues.o
-nicvf-y += nicvf_ethtool.o
+thunder_nicpf-y := nic_main.o
+thunder_nicvf-y := nicvf_main.o nicvf_queues.o
+thunder_nicvf-y += nicvf_ethtool.o
-- 
2.14.3




More information about the linux-arm-kernel mailing list