Re: [PATCH 3/5] Huawei BMA: Adding Huawei BMA driver: host_veth_drv

From: Randy Dunlap
Date: Mon Jun 15 2020 - 11:50:45 EST


On 6/15/20 7:56 AM, yunaixin03610@xxxxxxx wrote:
> diff --git a/drivers/net/ethernet/huawei/bma/Kconfig b/drivers/net/ethernet/huawei/bma/Kconfig
> index 12979128fa9d..21e9f7ee5be6 100644
> --- a/drivers/net/ethernet/huawei/bma/Kconfig
> +++ b/drivers/net/ethernet/huawei/bma/Kconfig
> @@ -1,2 +1,3 @@
> source "drivers/net/ethernet/huawei/bma/edma_drv/Kconfig"
> -source "drivers/net/ethernet/huawei/bma/cdev_drv/Kconfig"
> \ No newline at end of file
> +source "drivers/net/ethernet/huawei/bma/cdev_drv/Kconfig"
> +source "drivers/net/ethernet/huawei/bma/veth_drv/Kconfig"
> \ No newline at end of file

Add newlines characters.

> diff --git a/drivers/net/ethernet/huawei/bma/Makefile b/drivers/net/ethernet/huawei/bma/Makefile
> index c9bbcbf2a388..6ff24d31c650 100644
> --- a/drivers/net/ethernet/huawei/bma/Makefile
> +++ b/drivers/net/ethernet/huawei/bma/Makefile
> @@ -3,4 +3,5 @@
> #
>
> obj-$(CONFIG_BMA) += edma_drv/
> -obj-$(CONFIG_BMA) += cdev_drv/
> \ No newline at end of file
> +obj-$(CONFIG_BMA) += cdev_drv/
> +obj-$(CONFIG_BMA) += veth_drv/
> \ No newline at end of file

Same here.

> diff --git a/drivers/net/ethernet/huawei/bma/veth_drv/Kconfig b/drivers/net/ethernet/huawei/bma/veth_drv/Kconfig
> new file mode 100644
> index 000000000000..97829c5487c2
> --- /dev/null
> +++ b/drivers/net/ethernet/huawei/bma/veth_drv/Kconfig
> @@ -0,0 +1,11 @@
> +#
> +# Huawei BMA software driver configuration
> +#
> +
> +config BMA
> + tristate "Huawei BMA Software Communication Driver"
> +
> + ---help---

help

> + This driver supports Huawei BMA Software. It is used
> + to communication between Huawei BMA and BMC software.

to communicate

> +


--
~Randy