Hi Thierry,

I too have this chip, and have been attempting to add some preliminary
support for it in ether8169.c. I have a (WIP) patch hosted at
http://oneiri.one/ether8169.patch. It's a bit of a mess right now. I
have added some nominal support for other cards with the same register
set, but have not tested these other chips, have you been able to
tease out the exact version id for your model?

Regarding hwvid masks, I encountered this too when adding support. If
you look in the linux driver, they use a lookup table where each card
has a specific mask (either 7c8 or 7cf). In general, they use the 7cf
mask when they need to be more discerning about which card to match on
(e.g. RTL8125D and ... another slightly different RTL8125D). I didn't
want to break compatibility for older cards by outright using the more
restrictive mask, so my change attempts to use the restrictive mask
first, and then more lenient one if that fails.

The drivers for these newer nics are muddied with (mostly) nameless
registers and values to set, so it was a bit difficult figuring out
which pieces to pull together. The BSD's also include microcode in
lieu of firmware, which is actually the vendor driver's default. I
found that I didn't actually need to set them in my case, but we'll
see how it works out overtime, and with other chips.

Aidan

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

Reply via email to