From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Fri, 23 Oct 2015 08:21:13 +0800 Subject: [U-Boot] [PATCH v3] net: convert altera_tse to driver model and phylib In-Reply-To: <1445499301-31684-1-git-send-email-thomas@wytron.com.tw> References: <1445222181-30241-1-git-send-email-thomas@wytron.com.tw> <1445499301-31684-1-git-send-email-thomas@wytron.com.tw> Message-ID: <56297D79.4020300@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/22/2015 03:35 PM, Thomas Chou wrote: > Convert altera_tse to driver model and phylib. > > Signed-off-by: Thomas Chou > Reviewed-by: Marek Vasut > Reviewed-by: Simon Glass > --- > 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.