lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 3 Jan 2021 13:55:22 +0100 From: Marek Vasut <marex@...x.de> To: Andrew Lunn <andrew@...n.ch> Cc: netdev@...r.kernel.org, Heiner Kallweit <hkallweit1@...il.com>, Lukas Wunner <lukas@...ner.de> Subject: Re: [PATCH 1/2] net: phy: micrel: Add KS8851 PHY support On 12/30/20 4:43 PM, Andrew Lunn wrote: > On Wed, Dec 30, 2020 at 01:53:57PM +0100, Marek Vasut wrote: >> The KS8851 has a reduced internal PHY, which is accessible through its >> registers at offset 0xe4. The PHY is compatible with KS886x PHY present >> in Micrel switches, except the PHY ID Low/High registers are swapped. > > Can you intercept the reads in the KS8851 driver and swap them back > again? The mv88e6xxx driver does something similar. The mv88e6393 > family of switches have PHYs with the Marvell OUI but no device ID. So > the code traps these reads and provides an ID. I would prefer to keep this as-is, since then the PHY driver can match on these swapped IDs and discern the PHY from PHY present in the KS886x switch.
Powered by blists - more mailing lists