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