[U-Boot] [PATCH v3] net: convert altera_tse to driver model and phylib
Thomas Chou
thomas at wytron.com.tw
Fri Oct 23 02:21:13 CEST 2015
On 10/22/2015 03:35 PM, Thomas Chou wrote:
> Convert altera_tse to driver model and phylib.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> Reviewed-by: Marek Vasut <marex at denx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> v2
> remove volatile and use I/O accessors as suggested by Marek.
> use virt_to_phys() to get dma address.
> add free_pkt() ops.
> add timeout to loop.
> allocate cache aligned rx buffer.
> refactor sgdma calls.
> v3
> move the code into net ops for those with a single caller.
>
> configs/nios2-generic_defconfig | 2 +
> doc/device-tree-bindings/net/altera_tse.txt | 112 +++
> drivers/net/Kconfig | 9 +
> drivers/net/altera_tse.c | 1143 +++++++++------------------
> drivers/net/altera_tse.h | 277 +------
> include/configs/nios2-generic.h | 8 +
> 6 files changed, 504 insertions(+), 1047 deletions(-)
> create mode 100644 doc/device-tree-bindings/net/altera_tse.txt
>
Applied to u-boot-nios.
More information about the U-Boot
mailing list