Re: [RFC PATCH net-next 1/6] net: ethernet: implement OPEN Alliance control transaction interface
From: Parthiban.Veerasooran
Date: Fri Sep 22 2023 - 00:32:11 EST
Hi Andrew,
On 22/09/23 12:46 am, Andrew Lunn wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
>> So drivers/net/ethernet/Kconfig file should contain the below,
>>
>> config OA_TC6
>> tristate "OPEN Alliance TC6 10BASE-T1x MAC-PHY support"
>> depends on SPI
>> select PHYLIB
>>
>> help
>> This library implements OPEN Alliance TC6 10BASE-T1x MAC-PHY
>> Serial Interface protocol for supporting 10BASE-T1x MAC-PHYs.
>>
>> The drivers/net/ethernet/Makefile file should contain the below,
>>
>> obj-$(CONFIG_OA_TC6) += oa_tc6.o
>
> That looks about right, but i'm not a kconfig expert.
>
> I would expect drivers using this to then have a
>
> depends on OA_TC6
Yes, that's for sure. The MAC driver (Ex: lan865x.c) Kconfig file will
contain the above "depends on OA_TC6" if it supports OPEN Alliance TC6.
Best Regards,
Parthiban V
>
> Andrew