Marvell 88E1512 phy support in 13.2


Just joined the community, so please bear with me if I write something supid 😊. Also pretty new to freeBSD in general, and the whole “adding drivers” thing is not really clear to me.

I’m using SBC PC that have Marvell 88E1512 phy lan controller, that is currently not detected under FreeBSD 13.2, becouse there is no driver support. I see that the driver exists in current (14) branch;

The particular commit has no MFC specified, so can someone can clarify to me, that this means that its only available in FreeBSD 14 when its released, or is there a way to ask or request that this driver is incorporated to 13.2 branch?

Thank you verry much for your time.
dimi3, You can build on 13.2-RELEASE a new kernel with the Marvell 88E1512 source files added. Just tested here, it builds fine, and the new kernel seems to have the module built in, but due to lack of hardware I can't test functionality.
# strings /usr/obj/usr/amd64.amd64/sys/GENERIC/kernel | grep 88E1512
Marvell 88E1512 Gigabit PHY

- populate /usr/src with the 13.2-RELEASE source
- edit /usr/src/sys/conf/files
Rich (BB code):
   dev/mii/miibus_if.m             optional miibus | mii
   dev/mii/mv88e151x.c             optional miibus | mv88e151x
   dev/mii/nsgphy.c                optional miibus | nsgphy

- edit /usr/src/sys/dev/mii/miidevs
Rich (BB code):
    model xxMARVELL E1145           0x000d Marvell 88E1145 Quad Gigabit PHY
    model xxMARVELL E1512           0x001d Marvell 88E1512 Gigabit PHY
    model xxMARVELL E1116           0x0021 Marvell 88E1116 Gigabit PHY

# cd /usr/src/sys/dev/mii
# fetch
# fetch