net: phy: qcom: qca808x: add helper for checking for 1G only model
authorRobert Marko <robimarko@gmail.com>
Wed, 28 Feb 2024 17:24:09 +0000 (18:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 08:56:39 +0000 (08:56 +0000)
commitf058b2dd70b1a5503dff899010aeb53b436091e5
tree187b612ef34f4431ffb30104acf3ee2af1eb7c22
parentf29f9199c2d2b3c258f577f438885288016847ed
net: phy: qcom: qca808x: add helper for checking for 1G only model

There are 2 versions of QCA808x, one 2.5G capable and one 1G capable.
Currently, this matter only in the .get_features call however, it will
be required for filling supported interface modes so lets add a helper
that can be reused.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/qcom/qca808x.c