Page MenuHomeFreeBSD

Implement MDIO mux with Broadcom NS2 PCIe PHY initialization
ClosedPublic

Authored by kd on Aug 20 2019, 7:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 2, 8:51 PM
Unknown Object (File)
Feb 23 2024, 12:13 PM
Unknown Object (File)
Feb 14 2024, 11:02 AM
Unknown Object (File)
Dec 20 2023, 2:06 AM
Unknown Object (File)
Dec 3 2023, 7:43 PM
Unknown Object (File)
Dec 3 2023, 7:43 PM
Unknown Object (File)
Dec 3 2023, 7:43 PM
Unknown Object (File)
Dec 3 2023, 1:28 PM
Subscribers

Details

Summary

NS2 uses a PCIe PHY which is configured over MDIO.
Configure reference clock amplitude on PHY init.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 6 2020, 4:15 AM
This revision was automatically updated to reflect the committed changes.
head/sys/arm64/broadcom/brcmmdio/mdio_mux_iproc.c
47

This should be #define<tab>

188

The comment should start on the second line, i.e.

/*
 * start_...
210

ret is not a boolean type so this should be if (ret != 0)

211

Why goto err; when it just returns? This is normally used when you need to perform a clean up.

226–227

And here.

247

Missing newline.

head/sys/conf/files.arm64
179–181

These should have a more specific option to enable them, e.g. optional brcmmdio fdt

head/sys/arm64/broadcom/brcmmdio/mdio_mux_iproc.c
4

Aside, All rights reserved. has been removed from the standard FreeBSD copyright templates; of course it can stay if required by your client, but if it's only here because it was copied from an existing file it could be removed.