[Differential] D45109: Add support for Realtek RTL8211F-VD PHY

From: peterj (Peter Jeremy) <phabric-noreply_at_FreeBSD.org>
Date: Tue, 07 May 2024 08:41:10 UTC
peterj created this revision.
peterj added a reviewer: network.
peterj requested review of this revision.

REVISION 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

REVISION DETAIL
  https://reviews.freebsd.org/D45109

AFFECTED FILES
  sys/dev/mii/miidevs
  sys/dev/mii/rgephy.c
  sys/dev/mii/rgephyreg.h

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: peterj, #network
Cc: freebsd-net-list