RE: [PATCH net-next] r8153_ecm: avoid to be prior to r8152 driver

From: Hayes Wang
Date: Tue Nov 17 2020 - 20:22:30 EST


Jakub Kicinski <kuba@xxxxxxxxxx>
> Sent: Wednesday, November 18, 2020 12:12 AM
[...]
> Something like this?
>
> config USB_RTL8153_ECM
> tristate <headline text>
> select MII
> select USB_NET_CDCETHER
> depends on USB_RTL8152 || USB_RTL8152=n
> help
> <you help text>
>
>
> select clauses will pull in the dependencies you need, and the
> dependency on RTL8152 will be satisfied either when RTL8152's code
> is reachable (both are modules or RTL8152 is built in) or when RTL8152
> is not built at all.
>
> Does that help?

Thanks a lot.
I would test it.

Best Regards,
Hayes