[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <61e40941-5e2b-48b5-bbc4-fdd94967aaf1@lunn.ch>
Date: Tue, 18 Jul 2023 17:59:47 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Ante Knezic <ante.knezic@...mholz.de>
Cc: olteanv@...il.com, davem@...emloft.net, edumazet@...gle.com,
f.fainelli@...il.com, kuba@...nel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
pabeni@...hat.com
Subject: Re: [PATCH net-next v2] net: dsa: mv88e6xxx: Add erratum 3.14 for
88E6390X and 88E6190X
> I don't think so. The erratum from the patch needs to be applied on each
> SERDES reconfiguration or reset. For example, when replugging different
> SFPs (sgmii - 10g - sgmii interface). Erratum 4_6 is done only once?
> My guess is to put it in mv88e639x_sgmii_pcs_post_config but still I
> need the device product number
You might be able to read the product number from the ID registers of
the SERDES, registers 2 and 3 ? That is kind of cleaner. It is the
SERDES which needs the workaround, so look at the SERDES ID ...
- maybe embedding a pointer to the
> mv88e6xxx_chip chip inside the mv88e639x_pcs struct would be the cleanest way.
That would also work.
Andrew
Powered by blists - more mailing lists