On Thu, Mar 06, 2025 at 05:13:14PM -0500, [email protected] wrote:
> Quoth [email protected]:
> > On Thu, Mar 06, 2025 at 09:07:46PM +0100, tlaronde wrote:
> > > I have a candidate hardware with a Realtek RTL8125 2.5Gb Ethernet
> > > Controller PCI-E that is, generally, bundled with the 8169 and al.
> > > family.
> > >
> > > Realtek publish drivers for various systems, so I retrieved the code
> > > for FreeBSD to give it a look and try to add this new card to the
> > > (9front) pc/ether8169.c driver:
> > >
> > > https://www.realtek.com/Download/List?cate_id=584
> > >
> > > But there are discrepancies between the 9front driver and the Realtek
> > > FreeBSD modified one.
> > >
> > > For example, when retrieving the macver, the Plan9 driver uses a
> > > mask of:
> > >
> > > HwveridMASK = 0x7C800000
> > >
> > > while the Realtek driver uses 0xFC800000
> > >
> >
> > To be more precise: the Realtek driver uses 0xFC800000 for macver, and
> > uses 0x7CF00000 for Hardware revision.
>
> FWIW, our macver numbers/ids were grabbed from linux, as far as I can tell.
I will work with the FreeBSD driver, the Linux driver, and the UEFI
driver (for this one, because I fear the AMD IOMMU could come in the
picture, and the card once "working", what was seen with usbxhci may
reproduce itself with the ethernet card; since the UEFI driver works---probably
in a suboptimal mode or speed---this would give a hint about what to do to have
it at least basically working).
--
Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
http://www.kergis.com/
http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
------------------------------------------
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T832e366730c74bfa-M4cd6aa5554af0d7e087bc480
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription