realtek: resize mdio bus private arrays
authorMarkus Stockhausen <[email protected]>
Fri, 2 May 2025 14:33:34 +0000 (10:33 -0400)
committerStijn Tintel <[email protected]>
Mon, 12 May 2025 13:09:19 +0000 (16:09 +0300)
commit96ce4855bc8449b6afc31996c6b250199bbda7ae
treeff3a39e6158cd6ebbea24e2bed410cbe7d698489
parent0c9e91a60c9eb6120053a2148d67c2cd71d6fc06
realtek: resize mdio bus private arrays

These two arrays have been fixed to some sane size (= 64 ports). Now
that everything is in place reuse the global RTMDIO_MAX_PORT define.

Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18402
Signed-off-by: Stijn Tintel <[email protected]>
target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c