[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190925.134424.1566106400449419934.davem@davemloft.net>
Date: Wed, 25 Sep 2019 13:44:24 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: marex@...x.de
Cc: netdev@...r.kernel.org, andrew@...n.ch, f.fainelli@...il.com,
george.mccollister@...il.com, Tristram.Ha@...rochip.com,
vivien.didelot@...oirfairelinux.com, woojung.huh@...rochip.com
Subject: Re: [PATCH] net: dsa: microchip: Always set regmap stride to 1
From: Marek Vasut <marex@...x.de>
Date: Sat, 21 Sep 2019 19:53:09 +0200
> The regmap stride is set to 1 for regmap describing 8bit registers already.
> However, for 16/32/64bit registers, the stride is 2/4/8 respectively. This
> is not correct, as the switch protocol supports unaligned register reads
> and writes and the KSZ87xx even uses such unaligned register accesses to
> read e.g. MIB counter.
>
> This patch fixes MIB counter access on KSZ87xx.
>
> Signed-off-by: Marek Vasut <marex@...x.de>
Please resubmit with an appropriate Fixes: tag as per Florian's feedback.
Thank you.
Powered by blists - more mailing lists