Hi Thierry,

> Thank you for the link. I will give it a look this week-end and will
> go back to you during the next week. Hopefully, joining our efforts,
> we should manage to get the cards wortking.

Excellent! It will be good to have more work/hardware when it comes to
these Realtek chips. Overtime, I will be updating the linked file of
any bugs/cleanups I find, which I have also now moved to
http://oneiri.one/9front/ether8169.patch for the time being. (One
problem I have encountered is losing Rx after unplugging the cable for
a couple of seconds, but this looks well evidenced in commits relating
to the setting of something called "aldps", which I'll try to get
going tonight.)

>  From a cursory look, there are two distinct uses: one mask to match a
> macver, and another mask to select a revision, with both setting
> divergent things. In our present drivers, it seems the two cases are
> more or less mixed---once again: I'm just starting to discover the
> whole thing, so I may be wrong.

Yes this is right, and we do mix them. We (like Linux), are just
making it so that the Mac version _and_ the revision ID identify the
card (Macv |= RevID); thus having the mask of 0x[7F]CF000000 lets us
differentiate between tested cards by switching on Macv[0-9]+, like
the two RTL8125D versions (as opposed to sub-switching elsewhere in
the code for every time we test for a 8125D).

> Yes, the 8125 specially has a bunch of hard coded commands, given by
> Realtek, and no explanations. This could have something to do with the
> mixed support for 10Mb, 100Mb, 1Gb and 2.5Gb. But when it comes to
> explanations, there are almost none...

Yes :). This is going to be fun.

> I will get back to you after doing some work on the stuff.

I wish you good fortune.

Thank you,
Aidan

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

Reply via email to