Re: [RFC PATCH net-next 1/6] net: ethernet: implement OPEN Alliance control transaction interface

From: Andrew Lunn
Date: Thu Sep 21 2023 - 16:12:32 EST


> 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

Andrew