All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver
Date: Mon, 23 Nov 2015 10:16:06 -0700	[thread overview]
Message-ID: <565349D6.6090709@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ0kkeM+2+mg-H-mdEa7d9hXP2iDqN2Z5qXS7dqNTuL5kg@mail.gmail.com>

On 11/22/2015 08:09 PM, Simon Glass wrote:
> +Tom
>
> Hi Stephen,
>
> On 22 November 2015 at 10:09, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> On 11/21/2015 09:50 AM, Simon Glass wrote:
>>> Hi,
>>>
>>> On 21 November 2015 at 00:27, Stephen Warren <swarren@wwwdotorg.org> wrote:
>>>> On 11/20/2015 10:38 AM, Marek Vasut wrote:
>>>>> On Friday, November 20, 2015 at 06:35:41 PM, Simon Glass wrote:
>>>>>> Hi,
>>>>>
>>>>> Hi,
>>>>>
>>>>>> On 19 November 2015 at 06:12, Marek Vasut <marex@denx.de> wrote:
>>>>>>> On Thursday, November 19, 2015 at 01:49:16 PM, Anand Moon wrote:
>>>>>>>> Hi Marek,
>>>>>>>
>>>>>>> Hi!
>>>>>>>
>>>>>>> [...]
>>>>>>>
>>>>>>>> Sorry for the mess: Please accept my apology, I will not in the future.
>>>>>>>
>>>>>>> Cool, thanks! :)
>>>>>>
>>>>>> This driver should use driver model, right?
>>>>>
>>>>> Of course.
>>>>
>>>> Hopefully it can support both DM and non-DM?
>>>
>>> Why support non-DM? Isn't that just going to slow us down?
>>
>> I don't think DM is activated everywhere for Ethernet yet is it?
>>
>> I can't see why it'd slow us down. The non-DM code should be quite
>> static, and only have any effect on DM conversion whenever we finally
>> pull the trigger to remove it. It shouldn't be any kind of maintenance
>> issue in the interim.
>
> The conversion to driver model is a large and complex undertaking. It
> cannot be done by a small group of people. If we add new features to
> the 'old world' then there is a temptation for boards to stay there,
> which slows the entire migration process.  Why convert your board to
> driver model if all the shiny new drivers you want work without it? We
> can only remove the old code for a subsystem when every board that
> uses it is either converted or moved.
>
> Adding a new driver that does not use driver model may add a board
> that uses it. That's one more conversion to do and one more hurdle to
> jump.
>
> We will be much more successful if we avoid adding new features to

Given the conversion is quite simple (just deleting an ifdef'd block of 
code in the Ethernet driver) I'm really not sure that I agree that 
adding a new Ethernet driver that supports the old (i.e. 
**currently-in-use**) model is any kind of issue at all. It's just one 
more file to apply a fairly mechanical conversion to.

Either way, Ted, you'll definitely need to supply /me/ a version of the 
driver that's cleaned up according to the review comments here and works 
without DM_ETH (for use by the Linux4Tegra U-Boot), even if that's a 
different patch than what gets applied upstream. It's probably simplest 
if you get a patch accepted upstream that matches only upstream 
requirements, then add back non-DM support once that's accepted and send 
the resulting patch to me.

Thanks.

  reply	other threads:[~2015-11-23 17:16 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 [this message]
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
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=565349D6.6090709@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.