From: David Miller <davem@davemloft.net>
To: ben@decadent.org.uk
Cc: lrodriguez@atheros.com, Jie.Yang@atheros.com,
linux-team@atheros.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-2.6] atl1c: Fix hardware type check for enabling OTP CLK
Date: Sun, 21 Nov 2010 10:07:59 -0800 (PST) [thread overview]
Message-ID: <20101121.100759.59702930.davem@davemloft.net> (raw)
In-Reply-To: <1290228936.3818.135.camel@localhost>
From: Ben Hutchings <ben@decadent.org.uk>
Date: Sat, 20 Nov 2010 04:55:36 +0000
> Commit 496c185c9495629ef1c65387cb2594578393cfe0 "atl1c: Add support
> for Atheros AR8152 and AR8152" added the condition:
>
> if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c_b)
>
> for enabling OTP CLK, and the condition:
>
> if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c)
>
> for disabling OTP CLK. Since the two previously defined hardware
> types are athr_l1c and athr_l2c, the latter condition appears to be
> the correct one. Change the former to match.
>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
> This is compile-tested only. It looks like the current code may fail to
> read non-volatile settings on the L2C hardware since the EEPROM will not
> be clocked. Please check this.
This was brought up before, perhaps 4 or 5 months ago, and the maintainers
for this driver just fooled around and never brought this issue to a
meaningful resolution.
So I'm just going to apply your patch instead of waiting another half
year for something to happen.
Thanks Ben.
prev parent reply other threads:[~2010-11-21 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-20 4:55 [PATCH net-2.6] atl1c: Fix hardware type check for enabling OTP CLK Ben Hutchings
2010-11-21 18:07 ` David Miller [this message]
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=20101121.100759.59702930.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Jie.Yang@atheros.com \
--cc=ben@decadent.org.uk \
--cc=linux-team@atheros.com \
--cc=lrodriguez@atheros.com \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).