[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce002489-2a88-47e3-ba9a-926c3a71dea9@lunn.ch>
Date: Wed, 4 Dec 2024 03:15:52 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Maxime Chevallier <maxime.chevallier@...tlin.com>
Cc: davem@...emloft.net, Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
Russell King <linux@...linux.org.uk>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Heiner Kallweit <hkallweit1@...il.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, thomas.petazzoni@...tlin.com,
Simon Horman <horms@...nel.org>,
Herve Codina <herve.codina@...tlin.com>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH net-next v3 09/10] net: freescale: ucc_geth: Introduce a
helper to check Reduced modes
> +static bool phy_interface_mode_is_reduced(phy_interface_t interface)
> +{
> + return phy_interface_mode_is_rgmii(interface) ||
> + interface == PHY_INTERFACE_MODE_RMII ||
> + interface == PHY_INTERFACE_MODE_RTBI;
> +}
I wounder if this is useful anywhere else? Did you take a look around
other MAC drivers? Maybe this should be in phy.h?
Andrew
Powered by blists - more mailing lists