qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alistair Francis <alistair.francis@xilinx.com>
To: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Peter Crosthwaite <crosthwaitepeter@gmail.com>,
	Edgar Iglesias <edgar.iglesias@gmail.com>,
	"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	Alistair Francis <alistair.francis@xilinx.com>
Subject: Re: [Qemu-devel] [PATCH v1 1/1] cadence_gem: Correct Marvell PHY SPCFC reset value
Date: Fri, 4 Sep 2015 11:00:02 -0700	[thread overview]
Message-ID: <CAKmqyKO2PSZDRNdfjKnEJ2DAf_ytdpsoi4B_iBx=R+eyAjQaKg@mail.gmail.com> (raw)
In-Reply-To: <20150903225627.GB11697@toto>

On Thu, Sep 3, 2015 at 3:56 PM, Edgar E. Iglesias
<edgar.iglesias@xilinx.com> wrote:
> On Thu, Sep 03, 2015 at 03:10:52PM -0700, Alistair Francis wrote:
>> Bit 15 of the PHY Specific Status Register is reserved and
>> should remain 0. Fix the reset value to ensure that the 15th
>> bit is not set.
>>
>> Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
>
> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>

Thanks Edgar.

Should this go via the ARM queue?

Thanks,

Alistair

>
>
>> ---
>> http://www.marvell.com/transceivers/assets/Marvell-88E3016-Fast-Ethernet.pdf
>>
>>  hw/net/cadence_gem.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c
>> index 494a346..1127223 100644
>> --- a/hw/net/cadence_gem.c
>> +++ b/hw/net/cadence_gem.c
>> @@ -951,7 +951,7 @@ static void gem_phy_reset(CadenceGEMState *s)
>>      s->phy_regs[PHY_REG_1000BTSTAT] = 0x7C00;
>>      s->phy_regs[PHY_REG_EXTSTAT] = 0x3000;
>>      s->phy_regs[PHY_REG_PHYSPCFC_CTL] = 0x0078;
>> -    s->phy_regs[PHY_REG_PHYSPCFC_ST] = 0xBC00;
>> +    s->phy_regs[PHY_REG_PHYSPCFC_ST] = 0x7C00;
>>      s->phy_regs[PHY_REG_EXT_PHYSPCFC_CTL] = 0x0C60;
>>      s->phy_regs[PHY_REG_LED] = 0x4100;
>>      s->phy_regs[PHY_REG_EXT_PHYSPCFC_CTL2] = 0x000A;
>> --
>> 1.7.1
>>
>

  reply	other threads:[~2015-09-04 18:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 22:10 [Qemu-devel] [PATCH v1 1/1] cadence_gem: Correct Marvell PHY SPCFC reset value Alistair Francis
2015-09-03 22:56 ` Edgar E. Iglesias
2015-09-04 18:00   ` Alistair Francis [this message]
2015-09-04 18:12     ` Peter Maydell
2015-09-04 18:32       ` Alistair Francis
2015-09-04 21:08       ` Edgar E. Iglesias
2015-09-08 14:51 ` Peter Maydell

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='CAKmqyKO2PSZDRNdfjKnEJ2DAf_ytdpsoi4B_iBx=R+eyAjQaKg@mail.gmail.com' \
    --to=alistair.francis@xilinx.com \
    --cc=crosthwaitepeter@gmail.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=edgar.iglesias@xilinx.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.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).