From: Auke Kok <sofar@foo-projects.org>
To: Willy TARREAU <willy@w.ods.org>
Cc: jesse.brandeburg@intel.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, rol@as2917.net
Subject: Re: [PATCH-2.6] e1000: fix media_type <-> phy_type thinko
Date: Sun, 16 Apr 2006 10:48:24 -0700 [thread overview]
Message-ID: <44428368.2000703@foo-projects.org> (raw)
In-Reply-To: <20060415110025.GA6266@w.ods.org>
Willy TARREAU wrote:
> Recent patch cb764326dff0ee51aca0d450e1a292de65661055 introduced
> a thinko in e1000_main.c : e1000_media_type_copper is compared
> to hw.phy_type instead of hw.media_type. Original patch proposed
> by Jesse Brandeburg was correct, but what has been merged is not.
Indeed this seems like a mistake to me. I'll make sure this is checked
tomorrow with Jeff Kirsher who submitted the original patch.
Auke Kok
> ---
>
> drivers/net/e1000/e1000_main.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> 3df8a180d50c89a72c28abf37151e38ffda75f39
> diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
> index add8dc4..590a456 100644
> --- a/drivers/net/e1000/e1000_main.c
> +++ b/drivers/net/e1000/e1000_main.c
> @@ -4156,7 +4156,7 @@ e1000_mii_ioctl(struct net_device *netde
> spin_unlock_irqrestore(&adapter->stats_lock, flags);
> return -EIO;
> }
> - if (adapter->hw.phy_type == e1000_media_type_copper) {
> + if (adapter->hw.media_type == e1000_media_type_copper) {
> switch (data->reg_num) {
> case PHY_CTRL:
> if (mii_reg & MII_CR_POWER_DOWN)
next prev parent reply other threads:[~2006-04-16 17:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-15 11:00 [PATCH-2.6] e1000: fix media_type <-> phy_type thinko Willy TARREAU
2006-04-16 17:48 ` Auke Kok [this message]
2006-04-17 16:51 ` Jesse Brandeburg
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=44428368.2000703@foo-projects.org \
--to=sofar@foo-projects.org \
--cc=jesse.brandeburg@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rol@as2917.net \
--cc=willy@w.ods.org \
/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.