diff options
| author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2026-05-21 20:59:17 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-05-26 12:56:14 +0300 |
| commit | cad6a373f7f69254cb57e76e06f7734777575555 (patch) | |
| tree | 24787438167ada3b150fcaf1f7336823ed9b7207 /include/linux/stackprotector.h | |
| parent | ffc92cd009145eb5f85d913fbbc67fd24b601080 (diff) | |
| download | linux-cad6a373f7f69254cb57e76e06f7734777575555.tar.xz | |
net: mdio: realtek-rtl9300: Add port mask register
MDIO controller commands work on ports. These are converted by
the driver and hardware forth and back to bus/address. For write
commands a port mask register needs to be filled. Each bit tells the
controller to which PHY the write will be issued. Setting multiple
bits allows to program multiple PHYs in one step. The driver will
not make use of this parallel write feature. But it must at least
fill the bit of the target port that it wants to write to.
Depending on the SOC type and the number of supported PHYs this is
either one or two 32 bit port mask registers. The driver currently only
supports the 28 port RTL930x SOCs. So provide only the mask register
for the lower 32 ports. Add it to the register structure and make use
of it where needed.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://patch.msgid.link/20260521175918.1494797-9-markus.stockhausen@gmx.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
