Marvell 88E1512 phy support in 13.2

Hello,

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;

https://cgit.freebsd.org/src/commit/?id=adff82ea35b77a2961376f0806794698d97ed018

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.
Code:
# strings /usr/obj/usr/amd64.amd64/sys/GENERIC/kernel | grep 88E1512
e1000_initialize_M88E1512_phy
Marvell 88E1512 Gigabit PHY

Steps:
- 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

Code:
# cd /usr/src/sys/dev/mii
# fetch https://cgit.freebsd.org/src/plain/sys/dev/mii/mv88e151x.c
# fetch https://cgit.freebsd.org/src/plain/sys/dev/mii/mv88e151xreg.h
 
Back
Top