]> git.baikalelectronics.ru Git - kernel.git/commit
net: ks8851: Implement Parallel bus operations
authorMarek Vasut <marex@denx.de>
Thu, 28 May 2020 22:21:45 +0000 (00:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:30:04 +0000 (16:30 -0700)
commit67e6c9246edb12967f49ae1cc67a83ec1a4a9478
tree70bb26cae3814181b9a44e0f345592301490201f
parentbdf0e6105616d2e0cecaf0af141da47344467244
net: ks8851: Implement Parallel bus operations

Implement accessors for KS8851-16MLL/MLLI/MLLU parallel bus variant of
the KS8851. This is based off the ks8851_mll.c , which is a driver for
exactly the same hardware, however the ks8851.c code is much higher
quality. Hence, this patch pulls out the relevant information from the
ks8851_mll.c on how to access the bus, but uses the common ks8851.c
code. To make this patch reviewable, instead of rewriting ks8851_mll.c,
ks8851_mll.c is removed in a separate subsequent patch.

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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/Kconfig
drivers/net/ethernet/micrel/Makefile
drivers/net/ethernet/micrel/ks8851_par.c [new file with mode: 0644]