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

Since I'm discovering the code and this kind of task (adding a new
device to a driver), I may not grasp at first some technical reason
for doing so. Hence the question: is the mask different on purpose?
-- 
        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-M12ddef863bae40e85be76599
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to