Thomas Schaefer
9373e5aecf
net: fsl_enetc: fix imdio register calculation
...
With commit cc4e8af2c552, fsl_enetc register accessors have been split to
handle different register offsets on different SoCs. However, for
internal MDIO register calculation, only ENETC_PM_IMDIO_BASE was fixed
without adding the SoC specific MAC register offset.
As a result, the network support for the Kontron SMARC-sAL28 and
probably other boards based on the LS1028A CPU is broken.
Add the SoC specific MAC register offset to calculation of imdio.priv to
fix this.
Fixes: cc4e8af2c552 ("net: fsl_enetc: Split register accessors")
Signed-off-by: Thomas Schaefer <thomas.schaefer@kontron.com>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # LS1028A
Tested-by: Tim Harvey <tharvey@gateworks.com> # imx95_19x19_evk
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Alice Guo <alice.guo@nxp.com>
2025-05-12 18:43:19 -03:00
..
2024-07-22 10:53:05 -06:00
2024-09-24 13:41:21 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2025-01-31 11:29:01 -06:00
2023-01-20 12:27:24 -05:00
2022-05-03 18:33:29 -04:00
2022-09-18 10:26:33 +02:00
2024-07-22 10:53:05 -06:00
2025-04-21 11:05:05 -06:00
2024-05-20 13:35:03 -06:00
2025-04-28 13:24:56 -06:00
2024-05-20 13:35:03 -06:00
2025-04-16 16:51:45 -06:00
2024-05-20 13:35:03 -06:00
2020-05-18 21:19:23 -04:00
2024-09-11 20:34:48 +08:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-06-13 16:30:46 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2021-01-27 10:47:44 -05:00
2024-10-27 17:04:02 -06:00
2025-03-11 23:05:57 +01:00
2025-01-23 18:51:26 -06:00
2024-05-20 13:35:03 -06:00
2021-09-28 18:50:56 +03:00
2025-03-12 10:24:58 -06:00
2024-10-29 16:25:53 -03:00
2024-09-03 09:12:00 -06:00
2024-09-03 09:12:00 -06:00
2024-09-03 09:12:00 -06:00
2025-04-23 22:12:05 +08:00
2024-09-03 09:12:00 -06:00
2025-05-05 15:51:47 +02:00
2025-05-05 15:51:47 +02:00
2025-05-05 15:51:47 +02:00
2025-01-24 09:56:22 +08:00
2025-05-09 15:02:38 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-01-24 09:55:54 +08:00
2024-05-20 13:35:03 -06:00
2025-05-05 14:16:50 -06:00
2025-05-05 14:16:50 -06:00
2024-10-27 17:03:40 -06:00
2024-07-26 07:49:36 -06:00
2024-07-26 07:49:36 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-12-23 08:09:53 -03:00
2022-12-07 16:04:17 -05:00
2025-01-20 08:40:39 -03:00
2025-01-20 08:40:39 -03:00
2025-05-12 18:43:19 -03:00
2025-01-20 08:40:39 -03:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-11 20:34:43 +08:00
2024-09-11 20:34:43 +08:00
2024-07-22 10:53:05 -06:00
2023-02-10 13:41:07 -05:00
2025-05-08 11:48:13 +08:00
2024-03-26 19:58:26 -04:00
2024-03-26 19:58:26 -04:00
2024-05-20 13:35:03 -06:00
2025-05-04 20:25:03 +02:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-10-27 10:19:44 -06:00
2022-11-28 10:25:17 -05:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2025-04-23 10:02:49 +02:00
2024-07-03 14:42:01 -06:00
2024-05-20 13:35:03 -06:00
2025-01-01 14:35:54 -06:00
2021-01-05 12:24:41 -07:00
2021-04-06 11:10:29 +02:00
2023-12-19 11:24:38 +01:00
2021-04-06 11:10:29 +02:00
2022-04-10 08:44:12 +03:00
2020-12-13 08:00:25 -07:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2022-04-10 08:44:13 +03:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2022-12-22 10:31:48 -05:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2020-05-18 21:19:23 -04:00
2024-05-20 13:35:03 -06:00
2025-05-04 20:25:03 +02:00
2024-12-29 16:55:32 +01:00
2024-10-27 17:03:40 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-04-23 10:02:49 +02:00
2025-03-11 23:05:57 +01:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2021-09-30 09:08:16 -04:00
2024-01-29 22:35:02 -05:00
2023-09-22 15:54:35 -04:00
2025-04-08 16:23:51 -06:00
2024-05-20 13:35:03 -06:00
2025-03-03 14:18:49 +08:00
2024-05-20 13:35:03 -06:00
2024-06-13 16:27:07 -06:00
2024-05-20 13:35:03 -06:00
2023-07-21 09:00:38 +02:00
2024-05-20 13:35:03 -06:00
2024-09-20 15:31:19 +02:00