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>
Showing
- drivers/net/ethernet/micrel/Kconfig 2 additions, 0 deletionsdrivers/net/ethernet/micrel/Kconfig
- drivers/net/ethernet/micrel/Makefile 1 addition, 0 deletionsdrivers/net/ethernet/micrel/Makefile
- drivers/net/ethernet/micrel/ks8851_par.c 357 additions, 0 deletionsdrivers/net/ethernet/micrel/ks8851_par.c
Loading
Please register or sign in to comment