From 1ef7e1819194dc58d72b5b6d03bfdff59dfecf5a Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 9 Mar 2018 21:56:06 +0100 Subject: [PATCH] drivers: rename bbdev directory to baseband The drivers directory contains some sub-directories for each kind of device (or bus, mem): net, crypto, event, raw They are not suffixed with "dev" because it is obvious. For consistency, the sub-directory drivers/bbdev/ is renamed to drivers/baseband/. Signed-off-by: Thomas Monjalon Acked-by: Amr Mokhtar --- MAINTAINERS | 2 +- drivers/Makefile | 4 ++-- drivers/{bbdev => baseband}/Makefile | 0 drivers/{bbdev => baseband}/null/Makefile | 0 drivers/{bbdev => baseband}/null/bbdev_null.c | 0 .../{bbdev => baseband}/null/rte_pmd_bbdev_null_version.map | 0 drivers/{bbdev => baseband}/turbo_sw/Makefile | 0 drivers/{bbdev => baseband}/turbo_sw/bbdev_turbo_software.c | 0 .../turbo_sw/rte_pmd_bbdev_turbo_sw_version.map | 0 9 files changed, 3 insertions(+), 3 deletions(-) rename drivers/{bbdev => baseband}/Makefile (100%) rename drivers/{bbdev => baseband}/null/Makefile (100%) rename drivers/{bbdev => baseband}/null/bbdev_null.c (100%) rename drivers/{bbdev => baseband}/null/rte_pmd_bbdev_null_version.map (100%) rename drivers/{bbdev => baseband}/turbo_sw/Makefile (100%) rename drivers/{bbdev => baseband}/turbo_sw/bbdev_turbo_software.c (100%) rename drivers/{bbdev => baseband}/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map (100%) diff --git a/MAINTAINERS b/MAINTAINERS index aa30bd9486..a087e3ee5d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -282,7 +282,7 @@ Baseband API - EXPERIMENTAL M: Amr Mokhtar F: lib/librte_bbdev/ F: doc/guides/prog_guide/bbdev.rst -F: drivers/bbdev/ +F: drivers/baseband/ F: doc/guides/bbdevs/ F: app/test-bbdev/ F: doc/guides/tools/testbbdev.rst diff --git a/drivers/Makefile b/drivers/Makefile index ee65c87b0c..a1fa8b917d 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -8,8 +8,8 @@ DIRS-y += mempool DEPDIRS-mempool := bus DIRS-y += net DEPDIRS-net := bus mempool -DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += bbdev -DEPDIRS-bbdev := bus mempool +DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += baseband +DEPDIRS-baseband := bus mempool DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto DEPDIRS-crypto := bus mempool DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += event diff --git a/drivers/bbdev/Makefile b/drivers/baseband/Makefile similarity index 100% rename from drivers/bbdev/Makefile rename to drivers/baseband/Makefile diff --git a/drivers/bbdev/null/Makefile b/drivers/baseband/null/Makefile similarity index 100% rename from drivers/bbdev/null/Makefile rename to drivers/baseband/null/Makefile diff --git a/drivers/bbdev/null/bbdev_null.c b/drivers/baseband/null/bbdev_null.c similarity index 100% rename from drivers/bbdev/null/bbdev_null.c rename to drivers/baseband/null/bbdev_null.c diff --git a/drivers/bbdev/null/rte_pmd_bbdev_null_version.map b/drivers/baseband/null/rte_pmd_bbdev_null_version.map similarity index 100% rename from drivers/bbdev/null/rte_pmd_bbdev_null_version.map rename to drivers/baseband/null/rte_pmd_bbdev_null_version.map diff --git a/drivers/bbdev/turbo_sw/Makefile b/drivers/baseband/turbo_sw/Makefile similarity index 100% rename from drivers/bbdev/turbo_sw/Makefile rename to drivers/baseband/turbo_sw/Makefile diff --git a/drivers/bbdev/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c similarity index 100% rename from drivers/bbdev/turbo_sw/bbdev_turbo_software.c rename to drivers/baseband/turbo_sw/bbdev_turbo_software.c diff --git a/drivers/bbdev/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map b/drivers/baseband/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map similarity index 100% rename from drivers/bbdev/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map rename to drivers/baseband/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map -- 2.20.1