[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <71ccd182-beec-31f4-5a25-a81a7457ca55@gmail.com>
Date: Wed, 2 Oct 2019 07:54:06 +0200
From: Heiner Kallweit <hkallweit1@...il.com>
To: Jian-Hong Pan <jian-hong@...lessm.com>,
Linux Netdev List <netdev@...r.kernel.org>,
Yan-Hsuan Chuang <yhchuang@...ltek.com>
Cc: Linux Upstreaming Team <linux@...lessm.com>
Subject: Re: Driver support for Realtek RTL8125 2.5GB Ethernet
On 26.07.2019 21:05, Heiner Kallweit wrote:
> On 24.07.2019 22:02, Heiner Kallweit wrote:
>> On 24.07.2019 10:19, Jian-Hong Pan wrote:
>>> Hi all,
>>>
>>> We have got a consumer desktop equipped with Realtek RTL8125 2.5GB
>>> Ethernet [1] recently. But, there is no related driver in mainline
>>> kernel yet. So, we can only use the vendor driver [2] and customize
>>> it [3] right now.
>>>
>>> Is anyone working on an upstream driver for this hardware?
>>>
>> At least I'm not aware of any such work. Issue with Realtek is that
>> they answer individual questions very quickly but company policy is
>> to not release any datasheets or errata documentation.
>> RTL8169 inherited a lot from RTL8139, so I would expect that the
>> r8169 driver could be a good basis for a RTL8125 mainline driver.
>>
> Meanwhile I had a look at the RTL8125 vendor driver. Most parts are
> quite similar to RTL8168. However the PHY handling is quite weird.
> 2.5Gbps isn't covered by Clause 22, but instead of switching to
> Clause 45 Realtek uses Clause 22 plus a proprietary chip register
> (for controlling the 2.5Gbps mode) that doesn't seem to be accessible
> via MDIO bus. This may make using phylib tricky.
>
In case you haven't seen it yet: Meanwhile I added RTL8125 support to
phylib and r8169, it's included in 5.4-rc1. I tested it on a
RTL8125-based PCIe add-on card, feedback from your system would be
appreciated. Note that you also need latest linux-firmware package
from Sep 23rd.
>>> [1] https://www.realtek.com/en/press-room/news-releases/item/realtek-launches-world-s-first-single-chip-2-5g-ethernet-controller-for-multiple-applications-including-gaming-solution
>>> [2] https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
>>> [3] https://github.com/endlessm/linux/commit/da1e43f58850d272eb72f571524ed71fd237d32b
>>>
>>> Jian-Hong Pan
>>>
>> Heiner
>>
> Heiner
>
Heiner
Powered by blists - more mailing lists