Quoth tlaro...@kergis.com:
> 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.

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T832e366730c74bfa-M1d35df6268d8e11c099a8588
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to