diff options
| author | Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com> | 2026-07-27 12:20:47 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-31 16:29:55 -0700 |
| commit | ac99cc6cd3f80308192e884547b3e384de9f6807 (patch) | |
| tree | 1edb76a62e8bfb05d764b679d68cd481c4a133a1 /include/linux/stackprotector.h | |
| parent | b3422f60e931bb5a55bd5e16456e100434bb5a69 (diff) | |
net: dsa: microchip: adapt port offset for KSZ8463's PTP register
In KSZ8463 register's layout, the offset between port 1 and port 2
registers isn't the same in the generic control register area than in
the PTP register area. The get_port_addr() always uses the same offset
so it doesn't work when it's used to access PTP registers.
Adapt the port offset in get_port_addr() when the accessed register is
in the PTP area.
Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
Link: https://patch.msgid.link/20260727-ksz-new-ptp-v3-5-caba39e680e3@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
