[U-Boot] [PATCH v2] net: convert altera_tse to driver model and phylib

Marek Vasut marex at denx.de
Thu Oct 22 03:59:07 CEST 2015


On Wednesday, October 21, 2015 at 03:05:03 PM, Thomas Chou wrote:
> Convert altera_tse to driver model and phylib.
> 
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> ---
> 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.
> 
>  configs/nios2-generic_defconfig             |    2 +
>  doc/device-tree-bindings/net/altera_tse.txt |  112 +++
>  drivers/net/Kconfig                         |    9 +
>  drivers/net/altera_tse.c                    | 1150
> +++++++++------------------ drivers/net/altera_tse.h                    | 
> 277 +------
>  include/configs/nios2-generic.h             |    8 +
>  6 files changed, 526 insertions(+), 1032 deletions(-)
>  create mode 100644 doc/device-tree-bindings/net/altera_tse.txt

Hrm, either I didn't look properly or you did really great job fixing
this patch up ;-)

Reviewed-by: Marek Vasut <marex at denx.de>

Thanks!

Best regards,
Marek Vasut


More information about the U-Boot mailing list