Home
last modified time | relevance | path

Searched hist:"88 cfedd0d7ab5ff047ac7eb8243fb9a69526fee7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/micrel/
H A Dks8851.hdiff 88cfedd0d7ab5ff047ac7eb8243fb9a69526fee7 Thu May 28 17:21:35 CDT 2020 Marek Vasut <marex@denx.de> net: ks8851: Use 16-bit writes to program MAC address

On the SPI variant of KS8851, the MAC address can be programmed with
either 8/16/32-bit writes. To make it easier to support the 16-bit
parallel option of KS8851 too, switch both the MAC address programming
and readout to 16-bit operations.

Remove ks8851_wrreg8() as it is not used anywhere anymore.

There should be no functional change.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Petr Stetiar <ynezz@true.cz>
Cc: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>