Page MenuHomeFreeBSD

Add support for Realtek RTL8211F-VD PHY
AcceptedPublic

Authored by peterj on May 7 2024, 8:41 AM.
Tags
None
Referenced Files
F141312160: D45109.id138194.diff
Sat, Jan 3, 11:18 PM
Unknown Object (File)
Thu, Jan 1, 5:23 PM
Unknown Object (File)
Wed, Dec 31, 8:07 PM
Unknown Object (File)
Tue, Dec 30, 10:37 PM
Unknown Object (File)
Mon, Dec 29, 11:41 PM
Unknown Object (File)
Sun, Dec 28, 7:16 AM
Unknown Object (File)
Sun, Dec 28, 3:43 AM
Unknown Object (File)
Sun, Dec 21, 7:15 PM

Details

Reviewers
manu
bz
Group Reviewers
network
Summary

The RTL8211F-VD is a replacement/upgrade for the RTL8211F. Based on https://github.com/torvalds/linux/commit/bb726b753f75a4eeda291438f89dfd9b94783569, the only difference is the lack of the PCR2 register, which FreeBSD doesn't use.

At least on my Radxa ROCK 4C Plus, the fallback ukphy(4) is unable to manage autonegotiation, whereas the attached patch allows rgephy(4) to attach and autonegotiation then works.

Test Plan

Tested on my Radxa ROCK 4C Plus

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

peterj requested review of this revision.May 7 2024, 8:41 AM
peterj created this revision.
This revision is now accepted and ready to land.May 7 2024, 9:04 AM
bz added a subscriber: bz.

Should be fine; otherwise we'll deal with it as needed; do we know what mii_mpd_rev 7 is/was?