]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dpaa: Don't assume the MDIO is on the same fman as the MAC
authorJustin Hibbits <jhibbits@FreeBSD.org>
Mon, 28 Nov 2022 22:03:15 +0000 (17:03 -0500)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Mon, 28 Nov 2022 22:03:15 +0000 (17:03 -0500)
commit82abe70fe98aaece817e35ba99fcc4aea4181067
tree2bfb75e5e5cc2ade8cee61aa57c8e524dbe064b0
parent69cc1630014b7c50f754f5d49cfd4ed2905a5c48
dpaa: Don't assume the MDIO is on the same fman as the MAC

The P5040 has the MDIO for FMAN2 on FMAN1 for some reason.  Instead of
trying to manually find the MDIO, use a real xref.
sys/dev/dpaa/fman_mdio.c
sys/dev/dpaa/if_dtsec_fdt.c