Re: [PATCHv2 net-next] net: ag71xx: update FIFO bits and descriptions
From: Simon Horman
Date: Thu Aug 29 2024 - 16:19:15 EST
On Thu, Aug 29, 2024 at 10:47:01AM -0700, Rosen Penev wrote:
> On Thu, Aug 29, 2024 at 9:52 AM Simon Horman <horms@xxxxxxxxxx> wrote:
> >
> > On Wed, Aug 28, 2024 at 03:38:47PM -0700, Rosen Penev wrote:
> > > Taken from QCA SDK. No functional difference as same bits get applied.
> > >
> > > Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
...
> > Please consider a patch to allow compilation of this driver with
> > COMPILE_TEST in order to increase build coverage.
> Is that just
Of course we should test that it works, but yes, I think so.
>
> --- a/drivers/net/ethernet/atheros/Kconfig
> +++ b/drivers/net/ethernet/atheros/Kconfig
> @@ -6,7 +6,7 @@
> config NET_VENDOR_ATHEROS
> bool "Atheros devices"
> default y
> - depends on (PCI || ATH79)
> + depends on (PCI || ATH79 || COMPILE_TEST)
FWIIW, I would drop the () while we are here.
> help
> If you have a network (Ethernet) card belonging to this class, say Y.
>
> @@ -19,7 +19,7 @@ if NET_VENDOR_ATHEROS
>
> config AG71XX
> tristate "Atheros AR7XXX/AR9XXX built-in ethernet mac support"
> - depends on ATH79
> + depends on ATH79 || COMPILE_TEST
> select PHYLINK
> imply NET_SELFTESTS
> help
>
> >
> > --
> > pw-bot: cr
>