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. -- 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-M065dfdaff6da356dac2900bf Delivery options: https://9fans.topicbox.com/groups/9fans/subscription