[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <de2f9d41-1793-ab3a-eaa4-5a01c8100672@huawei.com>
Date: Tue, 11 Apr 2023 23:02:07 +0800
From: Wei Yongjun <weiyongjun1@...wei.com>
To: Paolo Abeni <pabeni@...hat.com>,
Wei Yongjun <weiyongjun@...weicloud.com>,
Maciej Fijalkowski <maciej.fijalkowski@...el.com>,
Joseph CHAMG <josright123@...il.com>,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>
CC: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Simon Horman <simon.horman@...igine.com>,
Shay Agroskin <shayagr@...zon.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Nathan Huckleberry <nhuck@...gle.com>,
Amit Kumar Mahapatra <amit.kumar-mahapatra@....com>,
Wells Lu <wellslutw@...il.com>,
Leon Romanovsky <leon@...nel.org>,
Alexandru Tachici <alexandru.tachici@...log.com>,
Jiawen Wu <jiawenwu@...stnetic.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: davicom: Make davicom drivers not depends
on DM9000
On 2023/4/11 21:26, Paolo Abeni wrote:
> On Fri, 2023-04-07 at 09:49 +0000, Wei Yongjun wrote:
>> From: Wei Yongjun <weiyongjun1@...wei.com>
>>
>> All davicom drivers build need CONFIG_DM9000 is set, but this dependence
>> is not correctly since dm9051 can be build as module without dm9000, switch
>> to using CONFIG_NET_VENDOR_DAVICOM instead.
>>
>> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
>> ---
>> drivers/net/ethernet/Makefile | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
>> index 0d872d4efcd1..ee640885964e 100644
>> --- a/drivers/net/ethernet/Makefile
>> +++ b/drivers/net/ethernet/Makefile
>> @@ -32,7 +32,7 @@ obj-$(CONFIG_NET_VENDOR_CIRRUS) += cirrus/
>> obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
>> obj-$(CONFIG_NET_VENDOR_CORTINA) += cortina/
>> obj-$(CONFIG_CX_ECAT) += ec_bhf.o
>> -obj-$(CONFIG_DM9000) += davicom/
>> +obj-$(CONFIG_NET_VENDOR_DAVICOM) += davicom/
>> obj-$(CONFIG_DNET) += dnet.o
>> obj-$(CONFIG_NET_VENDOR_DEC) += dec/
>> obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/
>
> Can you repost this for -net, including a suitable Fixes tag, as
> suggested by Simon?
>
Sure, will repost after testing base on net tree.
Regards,
Wei Yongjun
Powered by blists - more mailing lists