diff options
| author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2026-06-10 22:41:43 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 03:24:11 +0300 |
| commit | 6e1d8b024de7385567899049a71f880fccc733cc (patch) | |
| tree | e81fa7ae0c596d9e93ff1d01f10c46de7ae9eb08 /tools/lib/python/kdoc/python_version.py | |
| parent | 29a540b56e51541b77d323ed4ce1b13dbf7b7872 (diff) | |
| download | linux-6e1d8b024de7385567899049a71f880fccc733cc.tar.xz | |
net: mdio: realtek-rtl9300: Make otto_emdio_read_cmd() generic
The otto_emdio_read_cmd() helper still uses RTL9300 specific properties.
This cannot be made generic as the I/O register has different layouts for
the different SoCs. E.g.
- RTL930x: data in bits 31-16, data out bits 15-0
- RTL931x: data in bits 15-0, data out bits 31-16
Add a mask parameter to the function signature and fill it properly
in the callers. As the masks will always have bits set from constant
defines, there is no need for a consistency check.
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://patch.msgid.link/20260610194145.4153668-4-markus.stockhausen@gmx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
