public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ooi, Tzy Way" <tzy.way.ooi@intel.com>
To: "leif.lindholm@linaro.org" <leif.lindholm@linaro.org>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	"Loh, Tien Hock" <tien.hock.loh@intel.com>,
	"ard.biesheuvel@linaro.org" <ard.biesheuvel@linaro.org>,
	"See, Chin Liang" <chin.liang.see@intel.com>
Subject: Re: [PATCH] EmbeddedPkg/DwEmacSnpDxe: Add designware emac support This add support for designware emac controller
Date: Thu, 28 Feb 2019 08:39:32 +0000	[thread overview]
Message-ID: <4cd9903090f81e376a055ecd7692dc35e1a0551c.camel@intel.com> (raw)
In-Reply-To: <20190131182241.ano4hlyoj2kjcxoe@bivouac.eciton.net>

Hi Leif,

Thanks for your comment. I will modify the driver to comply to UEFI
driver model.

I would like to ask why this driver should be submitted to edk2-
platforms instead of edk2? This driver is a generic driver which is
target to work on various platform.

Best regards,
Tzy Way


On Thu, 2019-01-31 at 18:22 +0000, Leif Lindholm wrote:
> Hi Tzy Way,
> 
> Thank you for this contribution.
> 
> I do have some high-level comments.
> 
> First of all, my best guess is that you have used Lan9118Dxe for
> reference when developing this driver. This is somewhat unfortunate.
> I am reminded that
> a) we badly need to migrate that driver (and Lan91xDxe) to
>    edk2-platforms.
> b) we badly need to convert those drivers to UEFI driver model and
>    NonDiscoverableDeviceRegistrationLib.
> Those two predate the NonDiscoverable implementation, so have been
> left as is, but any new drivers really need to implement proper
> driver
> model.
> Additionally, this driver should be submitted to edk2-platforms
> rather
> than edk2.
> 
> Secondly, searching online for "designware emac" does not find
> unambigously the product this refers to. This is where it would be
> usful with a proper commit message and explain in a bit more detail
> what the driver is.
> 
> On Thu, Jan 31, 2019 at 04:32:00PM +0800, tzy.way.ooi@intel.com
> wrote:
> > From: "Ooi, Tzy Way" <tzy.way.ooi@intel.com>
> > 
> > Contributed-under: TianCore Contribution Agreement 1.1
> > Signed-off-by: Ooi, Tzy Way <tzy.way.ooi@intel.com>
> > ---
> >  .../Drivers/DwEmacSnpDxe/DwEmacSnpDxe.c       | 1368
> > +++++++++++++++++
> >  .../Drivers/DwEmacSnpDxe/DwEmacSnpDxe.h       |  236 +++
> >  .../Drivers/DwEmacSnpDxe/DwEmacSnpDxe.inf     |   69 +
> >  .../Drivers/DwEmacSnpDxe/EmacDxeUtil.c        |  676 ++++++++
> >  .../Drivers/DwEmacSnpDxe/EmacDxeUtil.h        |  378 +++++
> >  EmbeddedPkg/Drivers/DwEmacSnpDxe/PhyDxeUtil.c |  604 ++++++++
> >  EmbeddedPkg/Drivers/DwEmacSnpDxe/PhyDxeUtil.h |  324 ++++
> >  EmbeddedPkg/EmbeddedPkg.dec                   |    4 +
> >  EmbeddedPkg/EmbeddedPkg.dsc                   |    1 +
> >  9 files changed, 3660 insertions(+)
> 
> Thirdly, please generate patches as described in
> 
https://github.com/tianocore/tianocore.github.io/wiki/Laszlo%27s-unkempt-git-guide-for-edk2-contributors-and-maintainers#contrib-23
> This greatly simplifies review.
> 
> Best Regards,
> 
> Leif

  reply	other threads:[~2019-02-28  8:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31  8:32 [PATCH] EmbeddedPkg/DwEmacSnpDxe: Add designware emac support This add support for designware emac controller tzy.way.ooi
2019-01-31 18:22 ` Leif Lindholm
2019-02-28  8:39   ` Ooi, Tzy Way [this message]
2019-02-28 10:14     ` Leif Lindholm

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-list 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=4cd9903090f81e376a055ecd7692dc35e1a0551c.camel@intel.com \
    --to=devel@edk2.groups.io \
    /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