[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0443257e-ed31-421c-af28-4fb728e14210@lunn.ch>
Date: Thu, 9 Mar 2023 17:12:02 +0100
From: Andrew Lunn <andrew@...n.ch>
To: "Russell King (Oracle)" <rmk+kernel@...linux.org.uk>
Cc: Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] net: sfp: add A2h presence flag
On Thu, Mar 09, 2023 at 03:57:11PM +0000, Russell King (Oracle) wrote:
> The hwmon code wants to know when it is safe to access the A2h data
> stored in a separate address. We indicate that this is present when
> we have SFF-8472 compliance and the lack of an address-change
> sequence.,
>
> The same conditions are also true if we want to access other controls
> and status in the A2h address. So let's make a flag to indicate whether
> we can access it, instead of repeating the conditions throughout the
> code.
>
> For now, only convert the hwmon code.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists