diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-12-14 01:44:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-15 10:45:57 +0000 |
commit | 38eb804e8458ba181a03a0498ce4bf84eebd1931 (patch) | |
tree | 20d40c236d99d1cf500152b1f6f46af1045af8c1 /lib/xarray.c | |
parent | 8e732f1c6f2dc5e18f766d0f1b11df9db2dd044a (diff) |
net: phy: at803x: make read specific status function more generic
Rework read specific status function to be more generic. The function
apply different speed mask based on the PHY ID. Make it more generic by
adding an additional arg to pass the specific speed (ss) mask and use
the provided mask to parse the speed value.
This is needed to permit an easier deatch of qca808x code from the
at803x driver.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions