aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-05-29 00:21:35 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-28 16:30:04 -0700
commit88cfedd0d7ab5ff047ac7eb8243fb9a69526fee7 (patch)
tree0d7d7f12b7e1124b22a9d894d100c4eb70ea40bb /samples
parentnet: ks8851: Remove ks8851_rdreg32() (diff)
downloadlinux-dev-88cfedd0d7ab5ff047ac7eb8243fb9a69526fee7.tar.xz
linux-dev-88cfedd0d7ab5ff047ac7eb8243fb9a69526fee7.zip
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions