diff options
| author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2026-05-21 20:59:18 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-05-26 12:56:15 +0300 |
| commit | 826a1926f084037b91415a53a29ce93264f08ada (patch) | |
| tree | 8ebd1671b364834e9049f6c9d3106dd60cc82301 /include/uapi/linux | |
| parent | cad6a373f7f69254cb57e76e06f7734777575555 (diff) | |
| download | linux-826a1926f084037b91415a53a29ce93264f08ada.tar.xz | |
net: mdio: realtek-rtl9300: Link I/O functions in info structure
The MDIO controller registers of the different devices of the
Realtek Otto switch series are very similar. Nevertheless each
device will need to feed the whole command data distributed over
the controller registers slightly different.
E.g. the combined C22/command register has different field layouts.
On RTL930x bits 24-20 define the to-be-accessed C22 register number
while on RTL839x this is stored in bits 9-5.
Thus there need to be device specific read/write functions that
are called dynamically. Add them into the info structure and make
use of them where needed.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://patch.msgid.link/20260521175918.1494797-10-markus.stockhausen@gmx.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
