public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 2/2] usb: eth: add Realtek RTL8152B/RTL8153 DRIVER
Date: Mon, 25 Jan 2016 04:47:17 +0100	[thread overview]
Message-ID: <201601250447.17604.marex@denx.de> (raw)
In-Reply-To: <9433229CFF3E1848B20B3173199454BA056610AE@RTITMBSV06.realtek.com.tw>

On Monday, January 25, 2016 at 04:42:50 AM, Ted wrote:
> Hi Marek,

Hi,

> > -----Original Message-----
> > From: Marek Vasut [mailto:marex at denx.de]
> > Sent: Sunday, January 24, 2016 3:38 AM
> > To: Anand Moon
> > Cc: Joe Hershberger; Ted; Stephen Warren; Joe Hershberger; u-boot
> > Subject: Re: [U-Boot] [PATCH v5 2/2] usb: eth: add Realtek
> > RTL8152B/RTL8153 DRIVER
> > 
> > On Saturday, January 23, 2016 at 07:55:58 PM, Anand Moon wrote:
> > > Hi Marek,
> > > 
> > > On 23 January 2016 at 20:53, Marek Vasut <marex@denx.de> wrote:
> > > > On Saturday, January 23, 2016 at 01:42:55 AM, Marek Vasut wrote:
> > > >> On Friday, January 22, 2016 at 09:41:33 PM, Joe
> > 
> > Hershberger wrote:
> > > >> > Hi Marek,
> > > >> > 
> > > >> > On Fri, Jan 22, 2016 at 2:00 PM, Marek Vasut
> > 
> > <marex@denx.de> wrote:
> > > >> > > On Friday, January 22, 2016 at 08:50:04 PM, Joe
> > 
> > Hershberger wrote:
> > > >> > >> On Wed, Jan 20, 2016 at 12:24 AM, Ted Chen
> > > >> > >> <tedchen@realtek.com>
> > 
> > wrote:
> > > >> > >> > This patch adds driver support for the Realtek
> > > >> > >> > RTL8152B/RTL8153 USB network adapters.
> > > >> > >> > 
> > > >> > >> > Signed-off-by: Ted Chen <tedchen@realtek.com>
> > 
> > [swarren,
> > 
> > > >> > >> > fixed a few compiler warnings] [swarren, with permission,
> > > >> > >> > converted license header to SPDX] [swarren,
> > 
> > removed printf()
> > 
> > > >> > >> > spew during probe()]
> > > >> > >> > Signed-off-by: Stephen Warren <swarren@nvidia.com>
> > > >> > >> > ---
> > > >> > >> > 
> > > >> > >> >  drivers/usb/eth/Makefile    |    1 +
> > > >> > >> >  drivers/usb/eth/r8152.c     | 1456
> > > >> > >> >  +++++++++++++++++++++++++++++++++++++++++++
> > > >> > >> >  drivers/usb/eth/r8152.h
> > > >> > >> >  
> > > >> > >> >  |  631 +++++++++++++++++++
> > > >> > >> >  
> > > >> > >> >  drivers/usb/eth/r8152_fw.c  |  980
> > 
> > +++++++++++++++++++++++++++++
> > 
> > > >> > >> >  drivers/usb/eth/usb_ether.c |    7 +
> > > >> > >> >  include/usb_ether.h         |    6 +
> > > >> > >> >  6 files changed, 3081 insertions(+)  create mode 100644
> > > >> > >> > 
> > > >> > >> > drivers/usb/eth/r8152.c  create mode 100644
> > > >> > >> > drivers/usb/eth/r8152.h  create mode 100644
> > > >> > >> > drivers/usb/eth/r8152_fw.c
> > > >> > >> > 
> > > >> > >> > Changes for v2: Modified by Marek's comments.
> > > >> > >> > - Remove pattern informations.
> > > >> > >> > - Don't allocate & free when read/write register.
> > > >> > >> > - relpace udelay to mdelay.
> > > >> > >> > - pull firmware into global variable.
> > > >> > >> > - code review.
> > > >> > >> > 
> > > >> > >> > Changes for v3: Modified by Marek's and Joe's comments.
> > > >> > >> > - Remove driver version informations.
> > > >> > >> > - separate firmware code to individual file.
> > > >> > >> > - split extensive defines to r8152.h.
> > > >> > >> > - code review.
> > > >> > >> > 
> > > >> > >> > Changes for v4: Modified by Marek's comments.
> > > >> > >> > - remove the redundant code in generic_ocp_read and
> > > >> > >> > generic_ocp_write. - remove redundant typecasting.
> > > >> > >> > - collect the codes of busy waiting to
> > 
> > rtl8152_reinit_ll and
> > 
> > > >> > >> > rtl8152_nic_reset. - use ARRAY_SIZE() to avoid
> > 
> > having 0x00
> > 
> > > >> > >> > as a terminating entry of r8152_dongles. - using if
> > > >> > >> > (!ep_in_found && (ep_addr & USB_DIR_IN)) ... to
> > 
> > replace old
> > 
> > > >> > >> > version. - code review.
> > > >> > >> > 
> > > >> > >> > Changes for v5: Modified by Marek's comments.
> > > >> > >> > - add r8152_wait_for_bit to replace busy wait.
> > > >> > >> > - change the name of patch4 to r8152b_set_dq_desc.
> > > >> > >> > - add r8152_versions to store the hw's version.
> > > >> > >> 
> > > >> > >> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
> > > >> > > 
> > > >> > > Do you want to pick this or shall I ?
> > > >> > 
> > > >> > If there is some dependency (patch 1) that you will
> > 
> > take first,
> > 
> > > >> > you can just take this as well.
> > > >> 
> > > >> I cannot find patch 1/2.
> > > >> 
> > > >> Ted, can you repost both of the patches , so I can pick them ?
> > > > 
> > > > I applied 2/2 to u-boot-usb since it seems harmless, but I still
> > > > don't know what 1/2 is .
> > > > 
> > > > Best regards,
> > > 
> > > I probably belive this is the patch.
> > > 
> > > https://patchwork.ozlabs.org/patch/548453/
> > 
> > Thanks, in that case , please repost that one patch.
> 
> The patch 1/2 is there :
> https://patchwork.ozlabs.org/patch/544360/

Urgh, looks like PW mixed 1/2 and 2/2 and all the review of 2/2 is part of
that 1/2 patch too. Sigh.

> That patch is posted by "Stephen Warren".

Did that 1/2 patch get any review other than mine ? If not , please do repost
it and and CC Tom Rini and Simon Glass at least . Feel free to keep my reviewed-
by already.

Thanks!


> Thanks~
> 
> BRs
> Ted

  reply	other threads:[~2016-01-25  3:47 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 16:03 [U-Boot] [PATCH 1/2] checkpatch: ignore request to use ether_addr_copy() Stephen Warren
2015-11-13 16:03 ` [U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver Stephen Warren
2015-11-14  1:13   ` Marek Vasut
2015-11-16 17:32     ` Stephen Warren
2015-11-17  7:18       ` Ted
2015-11-17  8:04         ` Marek Vasut
2015-11-19  6:07         ` Anand Moon
2015-11-19 16:51           ` Stephen Warren
2015-11-19 17:00             ` Lukasz Majewski
2015-11-19 17:00             ` Marek Vasut
2015-11-19 10:58         ` Anand Moon
2015-11-19 11:12           ` Marek Vasut
2015-11-19 12:49             ` Anand Moon
2015-11-19 13:12               ` Marek Vasut
2015-11-20 17:35                 ` Simon Glass
2015-11-20 17:38                   ` Marek Vasut
2015-11-21  4:10                     ` Anand Moon
2015-11-22 17:12                       ` Stephen Warren
2015-11-22 19:25                         ` Anand Moon
2015-11-21  7:27                     ` Stephen Warren
2015-11-21 16:50                       ` Simon Glass
2015-11-22 17:09                         ` Stephen Warren
2015-11-23  3:09                           ` Simon Glass
2015-11-23 17:16                             ` Stephen Warren
2015-11-25  5:30                               ` [U-Boot] [PATCH v2 " Ted Chen
2015-11-25  9:09                                 ` Anand Moon
2015-11-26 16:58                                 ` Marek Vasut
2015-11-30 22:07                                 ` Joe Hershberger
2015-12-01 11:24                                 ` [U-Boot] [PATCH v3 " Ted Chen
2015-12-01 15:10                                   ` Marek Vasut
2015-12-01 16:31                                     ` Stephen Warren
2015-12-01 17:11                                       ` Marek Vasut
2015-12-01 16:32                                   ` Simon Glass
2016-01-13 18:27                                   ` Stephen Warren
2016-01-14  4:37                                     ` [U-Boot] [PATCH v4 2/2] usb: eth: add Realtek RTL8152B/RTL8153 DRIVER Ted Chen
2016-01-14  4:42                                       ` Marek Vasut
2016-01-14  5:22                                         ` Ted Chen
2016-01-14  5:37                                           ` Marek Vasut
2016-01-20  6:24                                             ` [U-Boot] [PATCH v5 " Ted Chen
2016-01-20 13:08                                               ` Marek Vasut
2016-01-20 16:52                                               ` Stephen Warren
2016-01-20 20:10                                                 ` Anand Moon
2016-01-20 20:34                                                   ` Marek Vasut
2016-01-21  8:55                                                     ` Anand Moon
2016-01-21 10:12                                                       ` Marek Vasut
2016-01-22 19:50                                               ` Joe Hershberger
2016-01-22 20:00                                                 ` Marek Vasut
2016-01-22 20:41                                                   ` Joe Hershberger
2016-01-23  0:42                                                     ` Marek Vasut
2016-01-23 15:23                                                       ` Marek Vasut
2016-01-23 18:55                                                         ` Anand Moon
2016-01-23 19:38                                                           ` Marek Vasut
2016-01-25  3:42                                                             ` Ted
2016-01-25  3:47                                                               ` Marek Vasut [this message]
2015-11-14  0:56 ` [U-Boot] [PATCH 1/2] checkpatch: ignore request to use ether_addr_copy() Marek Vasut
2015-11-23 23:36 ` Joe Hershberger
2015-12-15 23:34   ` Stephen Warren
2015-12-15 23:41     ` Joe Hershberger
     [not found]       ` <56969621.30204@wwwdotorg.org>
2016-01-20 20:47         ` Stephen Warren
2016-01-20 21:00           ` Tom Rini
2016-01-20 21:04             ` Stephen Warren
2016-01-21  1:22               ` Tom Rini
2016-01-21  4:09                 ` Joe Hershberger
2016-01-25 21:28 ` [U-Boot] [U-Boot, " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201601250447.17604.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox