From: Leif Lindholm <leif.lindholm@linaro.org>
To: tzy.way.ooi@intel.com
Cc: edk2-devel@lists.01.org, ard.biesheuvel@linaro.org,
tien.hock.loh@intel.com, chin.liang.see@intel.com
Subject: Re: [PATCH] EmbeddedPkg/DwEmacSnpDxe: Add designware emac support This add support for designware emac controller
Date: Thu, 31 Jan 2019 18:22:41 +0000 [thread overview]
Message-ID: <20190131182241.ano4hlyoj2kjcxoe@bivouac.eciton.net> (raw)
In-Reply-To: <20190131083200.4231-1-tzy.way.ooi@intel.com>
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
next prev parent reply other threads:[~2019-01-31 18:22 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 [this message]
2019-02-28 8:39 ` Ooi, Tzy Way
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=20190131182241.ano4hlyoj2kjcxoe@bivouac.eciton.net \
--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