[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <204006a5-004e-03ce-6117-86f391d6aece@simerda.eu>
Date: Tue, 19 Jan 2021 02:08:51 +0100
From: Pavel Šimerda <code@...erda.eu>
To: Tobias Waldekranz <tobias@...dekranz.com>, netdev@...r.kernel.org
Subject: mdio: access c22 registers via debugfs
Hi Tobias,
given the reasons stated in the mailing list, I'd like to discuss the situation off-list. I would be more than happy to join your effort and provide an OpenWRT package. I understand the motivation to reject that, and I do use it partially also for the “bad purpose” and therefore I'd like to solve it as consistently as possible.
I'm working with mv88e6xxx where c45 can be coded in c22 anyway, so I didn't care to implement it in the MDIO driver. I'd like to share with you the user space script I'm using to access both mv88e6xxx and direct PHY registers.
I see you're working with mv88e6xxx as well. Can you access all of the inderect registers up to multichip+indirect+paged/c45 registers even without the mv88e6xxx driver loaded, or not? I'm using this feature to bootstrap the switch and get it onto the network when the driver doesn't work yet.
I've seen a few new patches submitted to next-next regarding mv88e6393 and the lag support. I'm also going to explore MSTP and more. I published some of my changes that might not be accepted upstream any soon, or like this one, at all:
https://github.com/switchwrt
Regards,
Pavel
Powered by blists - more mailing lists