Thread (52 messages) flat view 52 messages, 5 authors, 2020-03-29

Re: [PATCH 08/14] net: ks8851: Use 16-bit read of RXFC register

From: Lukas Wunner <lukas@wunner.de>
Date: 2020-03-24 10:41:05

On Tue, Mar 24, 2020 at 12:42:57AM +0100, Marek Vasut wrote:
The RXFC register is the only one being read using 8-bit accessors.
To make it easier to support the 16-bit accesses used by the parallel
bus variant of KS8851, use 16-bit accessor to read RXFC register as
well as neighboring RXFCTR register.
This means that an additional 8 bits need to be transferred over the
SPI bus whenever a set of packets is read from the RX queue.  This
should be avoided.  I'd suggest adding a separate hook to read RXFC
and thus keep the 8-bit read function for the SPI variant.

Thanks,

Lukas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help